Fixed typo
Former-commit-id: 3a47a8981692b57ccad50e1044c1139c34bf9c75
This commit is contained in:
parent
cfd54b859d
commit
94268ae6b2
|
|
@ -309,7 +309,7 @@ void NzMatrix4<T>::MakeRotation(const NzQuaternion<T>& rotation)
|
||||||
| 2XZ + 2YW 2YZ - 2XW 1 - 2X - 2Y |
|
| 2XZ + 2YW 2YZ - 2XW 1 - 2X - 2Y |
|
||||||
| |
|
| |
|
||||||
*/
|
*/
|
||||||
///FIXME: À corriger (Rotation quaternino != rotation matricielle)
|
///FIXME: À corriger (Rotation quaternion != rotation matricielle)
|
||||||
Set(F(1.0) - F(2.0)*rotation.y*rotation.y - F(2.0)*rotation.z*rotation.z,
|
Set(F(1.0) - F(2.0)*rotation.y*rotation.y - F(2.0)*rotation.z*rotation.z,
|
||||||
F(2.0)*rotation.x*rotation.y + F(2.0)*rotation.z*rotation.w,
|
F(2.0)*rotation.x*rotation.y + F(2.0)*rotation.z*rotation.w,
|
||||||
F(2.0)*rotation.x*rotation.z - F(2.0)*rotation.y*rotation.w,
|
F(2.0)*rotation.x*rotation.z - F(2.0)*rotation.y*rotation.w,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue