CDXVec Constructors

Member Functions

CDXVec Creates the vector and sets all components to zero.
CDXVec( BOOL bInit ) Constructs and conditionally initializes the vector.
CDXVec( TYPE x, TYPE y, TYPE z, TYPE t ) Constructs the vector and initializes the components to specified values.
CDXVec( const CDXVec &Other ) Copies the specified CDXVec object.
CDXVec( const DXVEC Other) Copy constructor that uses a DXVEC structure.

CDXVec::CDXVec

CDXVec Class

Creates the vector and sets all components to zero.

Syntax

CDXVec();

Return Value

No return value.

See Also

CDXVec::ZeroVector

CDXVec::CDXVec( BOOL bInit )

CDXVec Class

Constructs and conditionally initializes the vector.

Syntax

CDXVec(
	BOOL bInit
);

Parameters

bInit
[in] TRUE specifies that the vector should be set to {0,0,0,0}. FALSE specifies that no initialization action should be taken.

Return Value

No return value.

CDXVec::CDXVec( TYPE x, TYPE y, TYPE z, TYPE t )

CDXVec Class

Constructs the vector and initializes the components to specified values.

Syntax

CDXVec(
	TYPE x,
	TYPE y,
	TYPE z,
	TYPE t
);

Parameters

x
[in] X-component of the vector.
y
[in] Y-component of the vector.
z
[in] Z-component of the vector.
t
[in] T-component of the vector.

Return Value

No return value.

CDXVec::CDXVec( const CDXVec &Other )

CDXVec Class

Copies the specified CDXVec object.

Syntax

CDXVec(
	const CDXVec &Other
);

Parameters

Other
[in] Vector to use for copying.

Return Value

No return value.

CDXVec::CDXVec( const DXVEC Other )

CDXVec Class

Copy constructor that uses a DXVEC structure.

Syntax

CDXVec(
	const DXVEC Other
);

Parameters

Other
[in] DXVEC structure to use for copying.

Return Value

No return value.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.