How come this code gives me a blank screen:
Code:
'Yes everything is initialized
Dim Quat As D3DQUATERNION
Dim Mat as D3DMATRIX
D3DXQuaternionIdentity Quat
D3DXMatrixRotationQuaternion Mat, Quat
D3DDevice.SetTransform D3DTS_WORLD, Mat
'Draw mesh
When this one works perfectly?:
Code:
Dim Mat as D3DMATRIX
D3DXMatrixIdentity Mat
D3DDevice.SetTransform D3DTS_WORLD, Mat
When they should do the same thing!