diff options
| author | ThePixelGamer <thepixelmaster2354@gmail.com> | 2021-10-06 18:02:53 -0500 |
|---|---|---|
| committer | ThePixelGamer <thepixelmaster2354@gmail.com> | 2021-10-10 05:21:18 -0500 |
| commit | 20df9e7c7d9715173b2bdfd5697526b2f49b8dbe (patch) | |
| tree | e0c5d2f9b2419aceb870721f1a22e52ec9614f5c /src/KingSystem/Physics/SupportBone/physSupportBoneResource.cpp | |
| parent | a82333ef9060f622e52a25ee0d815d33b0e91d91 (diff) | |
Update misc files to match sead math changes
Diffstat (limited to 'src/KingSystem/Physics/SupportBone/physSupportBoneResource.cpp')
| -rw-r--r-- | src/KingSystem/Physics/SupportBone/physSupportBoneResource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/KingSystem/Physics/SupportBone/physSupportBoneResource.cpp b/src/KingSystem/Physics/SupportBone/physSupportBoneResource.cpp index a33031e0..b7b2dbd9 100644 --- a/src/KingSystem/Physics/SupportBone/physSupportBoneResource.cpp +++ b/src/KingSystem/Physics/SupportBone/physSupportBoneResource.cpp @@ -238,17 +238,17 @@ void SupportBoneResource::BaseBone::postRead_() { sead::Vector3f up_local = up.ref(); aim_local.normalize(); - side = sead::cross(aim_local, up_local); + side.setCross(aim_local, up_local); // XXX: this looks like a hack. Why does this not match without an inline function? [&] { side.normalize(); }(); - up_local = sead::cross(side, aim_local); + up_local.setCross(side, aim_local); up_local.normalize(); up = up_local; aim = aim_local; base_rotate->normalize(); - base_rotate->invert(&reverse_rotate); + base_rotate->inverse(&reverse_rotate); } } // namespace ksys::phys |
