Original Post
TYPE * boo() { if ( isTrue ) { ....... } } if isTrue is false, what value is return? it seem it is different according to release build or debug build. is that true? what is result of below, and WHY?
D3DXVECTOR3 boo()
{
if (0 )
{
return D3DXVECTOR3(0,0,0);
}
}
int main(int argc, char* argv[])
{
D3DXVECTOR3 f = D3DXVECTOR3(33,33,33);
f = boo();
}