ksys/phys: Fix a nasty typo in toHkQuat

This commit is contained in:
Léo Lam 2022-01-13 02:46:12 +01:00
parent d37e60d7e8
commit bcbc8bd2ea
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 2 additions and 2 deletions

View File

@ -38,11 +38,11 @@ inline void toQuat(sead::Quatf* out, const hkQuaternionf& quat) {
}
inline void toHkQuat(hkQuaternionf* out, const sead::Quatf& quat) {
out->set(quat.x, quat.y, quat.x, quat.w);
out->set(quat.x, quat.y, quat.z, quat.w);
}
[[nodiscard]] inline hkQuaternionf toHkQuat(const sead::Quatf& quat) {
return {quat.x, quat.y, quat.x, quat.w};
return {quat.x, quat.y, quat.z, quat.w};
}
inline void toMtx34(sead::Matrix34f* out, const hkTransformf& transform) {