Min

This helper function returns the minimum component of the specified vector. Min is part of the suite of extra functionality that is available to C++ programmers who define D3D_OVERLOADS.

D3DVALUE Min (const _D3DVECTOR& v);
 

This function is defined as follows:

inline D3DVALUE
Min (const _D3DVECTOR& v)
{
   D3DVALUE ret = v.x;
   if (v.y < ret) ret = v.y;
   if (v.z < ret) ret = v.z;
   return ret;
}
 

QuickInfo

  Windows NT: Use version 3.1 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

Max