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

The macros returns the converted value.

Remarks

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

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3dtypes.h.

See Also

D3DVAL