Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- speed = D3DXVECTOR3(1.0f, 2.0f, 3.0f);
- direction = D3DXVECTOR3(1.0f, 0.0f, 0.0f);
- D3DXMATRIX temp;
- D3DXMatrixRotationAxis(&temp, &direction, 3.14f);
- D3DXVec3TransformCoord(&speed, &speed, &temp);
Add Comment
Please, Sign In to add comment