lerp fix 3
This commit is contained in:
parent
0d39240fc2
commit
65db1bf90d
|
@ -745,6 +745,7 @@ namespace LinearAlgebra3D
|
||||||
rotation.v[0].Normalize();
|
rotation.v[0].Normalize();
|
||||||
rotation.v[1] = normalizedAxis;
|
rotation.v[1] = normalizedAxis;
|
||||||
rotation.v[2].xyz = rotation.v[0].xyz.Cross( rotation.v[1].xyz );
|
rotation.v[2].xyz = rotation.v[0].xyz.Cross( rotation.v[1].xyz );
|
||||||
|
return rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename ScalarType>
|
template<typename ScalarType>
|
||||||
|
|
Loading…
Reference in New Issue