DirectX SDK

D3DVALP

The D3DVALP macro creates a value of the specified precision.

D3DVALP(val, prec)    ((float)val) 

Parameters

val
Value to be converted.
prec
Ignored.

Return Values

Returns the converted value.

Remarks

The precision, as implemented by the D3DVAL macro, is 16 bits for the fractional part of the value.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Version: Requires DirectX 2.0 or later.
  Header: Declared in d3dtypes.h.

See Also

D3DVAL