![]() |
![]() |
![]() |
Describes a vector in three-dimensional (3-D) space.
Syntax
typedef struct { FLOAT x; FLOAT y; FLOAT z; } D3DXVECTOR3;
Members
- x
- The x-component.
- y
- The y-component.
- z
- The z-component.
Remarks
This structure inherits the x, y and z members from the D3DVECTOR structure. C programmers cannot use the D3DXVECTOR3 structure. They must use the D3DVECTOR structure.
C++ programmers can take advantage of operator overloading and type casting with the D3DXVECTOR3 Extensions, which implement overloaded constructors, assignment, unary, and binary (including equality) operators.
Structure Information
Header d3dx9math.h Minimum operating systems Windows 98