D3DXVECTOR2
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXVECTOR2 Structure


Describes a vector in 2-D space.

Syntax

typedef struct D3DXVECTOR2 {
    FLOAT x;
    FLOAT y;
} D3DXVECTOR2;

Members

x
The x-component.
y
The y-component.

Remarks

C++ programmers can take advantage of operator overloading and type casting with the D3DXVECTOR2 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.