D3DXVECTOR3::operator == ( CONST D3DXVECTOR3& v ) const
{
return x == v.x && y == v.y && z == v.z;
}
Above is == operator of D3DXVECTOR3 class in D3DX10math.h
According to what I know, use == operator directly in float can cause a problem, but MS give that code.
Is it OK to use it directly? No problem? Why?