chore: sync workspace state
This commit is contained in:
@@ -161,7 +161,7 @@ Vector3 Quaternion::ToEulerAngles() const {
|
||||
float cosyCosp = 1.0f - 2.0f * (y * y + z * z);
|
||||
float yaw = std::atan2(sinyCosp, cosyCosp);
|
||||
|
||||
return Vector3(pitch, yaw, roll);
|
||||
return Vector3(roll, pitch, yaw);
|
||||
}
|
||||
|
||||
Matrix4 Quaternion::ToMatrix4x4() const {
|
||||
|
||||
Reference in New Issue
Block a user