VBGamer |
|||||||||||||||||||||||||||
RE: 3DIM Question VaderSB (1 reply, 0 views) (2000-Apr-23) Don't know if it works but here is the pseudo-code:
Dim RotX as matrix
Dim RotY as matrix
Dim FinalTrans as matrix
dx.rotateXmatrix(RotX)
dx.rotateYmatrix(RotY)
dx.matrixMultiply(FinalTrans,RotX,RotY) ' matrix multiplication FinalTrans - 'destination matrix
d3ddevice.SetTransform (World, FinalTrans)
it's just a pseudo-code but it shows the idea.
|