Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This structure describes a three-dimensional vector using floating point numbers.
Syntax
typedef struct D3DMXVECTOR3 { #ifdef __cplusplus public: D3DMXVECTOR3() {}; D3DMXVECTOR3( CONST FLOAT * ); D3DMXVECTOR3( CONST D3DMVECTOR& ); D3DMXVECTOR3( FLOAT x, FLOAT y, FLOAT z ); // casting operator FLOAT* (); operator CONST FLOAT* () const; // assignment operators D3DMXVECTOR3& operator += ( CONST D3DMXVECTOR3& ); D3DMXVECTOR3& operator -= ( CONST D3DMXVECTOR3& ); D3DMXVECTOR3& operator *= ( FLOAT ); D3DMXVECTOR3& operator /= ( FLOAT ); // unary operators D3DMXVECTOR3 operator + () const; D3DMXVECTOR3 operator - () const; // binary operators D3DMXVECTOR3 operator + ( CONST D3DMXVECTOR3& ) const; D3DMXVECTOR3 operator - ( CONST D3DMXVECTOR3& ) const; D3DMXVECTOR3 operator * ( FLOAT ) const; D3DMXVECTOR3 operator / ( FLOAT ) const; friend D3DMXVECTOR3 operator * ( FLOAT, CONST struct D3DMXVECTOR3& ); BOOL operator == ( CONST D3DMXVECTOR3& ) const; BOOL operator != ( CONST D3DMXVECTOR3& ) const; #endif //__cplusplus FLOAT x, y, z; } D3DMXVECTOR3, *LPD3DMXVECTOR3; |
Members
- x
-
A FLOAT value for the x-component.
- y
-
A FLOAT value for the y-component.
- z
-
A FLOAT value for the z-component.
Requirements
Header | d3dmx.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |
See Also
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.