D3DDivide

The D3DDivide macro divides two values.

D3DDivide(a, b) (float)((double) (a) / (double) (b))

Parameters

a and b

Dividend and divisor in the expression, respectively.

Return Values

The macros returns the quotient of the division.

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

D3DMultiply