D3DXVECTOR3
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXVECTOR3 Structure


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

Headerd3dx9math.h
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.