mirror of
https://github.com/AxioDL/zeus.git
synced 2025-12-09 05:27:56 +00:00
CMatrix3f: Remove normalize from CQuaternion ctor
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
|
||||
namespace zeus {
|
||||
|
||||
CMatrix3f::CMatrix3f(const CQuaternion& quat) {
|
||||
CQuaternion nq = quat.normalized();
|
||||
CMatrix3f::CMatrix3f(const CQuaternion& nq) {
|
||||
float x2 = nq.x() * nq.x();
|
||||
float y2 = nq.y() * nq.y();
|
||||
float z2 = nq.z() * nq.z();
|
||||
|
||||
Reference in New Issue
Block a user