Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/6/2010
The following macros define convenient values for use in Microsoft® Direct3D® Mobile.
Syntax
#define D3DMX_PI ((FLOAT) 3.141592654f)
#define D3DMX_1BYPI ((FLOAT) 0.318309886f)
#define D3DMX_PI_FXD ((FIXED)(3.141592654f * 65536.0f))
#define D3DMX_1BYPI_FXD ((FIXED)(0.318309886f * 65536.0f))
#define D3DMX_DEFAULT ULONG_MAX
#define D3DMX_DEFAULT_FLOAT FLT_MAX
Remarks
The following table describes these macro values.
| Value | Description |
|---|---|
D3DMX_PI |
The value of PI in floating point format |
D3DMX_1BYPI |
The value of 1/PI in floating point format |
D3DMX_PI_FXD |
The value of PI in fixed point format |
D3DMX_1BYPI_FXD |
The value of 1/PI in fixed point format |
D3DMX_DEFAULT |
The largest possible fixed point number in the Direct3D Mobile Extensions. |
D3DMX_DEFAULT_FLOAT |
The largest possible floating point number in the Direct3D Mobile Extensions. |
Requirements
| Header | d3dmx.h |
| Windows Embedded CE | Windows Embedded CE 6.0 and later |