I can't figure out how to use the D3DXVECTOR3 return value of:
It returns a D3DXVECTOR3*.
I have a a D3DXVECTOR3: mBoudingBox.min.
mBoundingBox.min = D3DXVec3TransformCoord(NULL, &mBoundingBox.min, &mMatWorld);
But it says "no operator matches these operands".
Looking it up in MSN says that the return value is a D3DXVECTOR3*.
I have it working when I replace NULL by the output vector, but just want to know why it doesn't work as return value.