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/ActorSystem/actInfoData.cpp | |
| parent | a82333ef9060f622e52a25ee0d815d33b0e91d91 (diff) | |
Update misc files to match sead math changes
Diffstat (limited to 'src/KingSystem/ActorSystem/actInfoData.cpp')
| -rw-r--r-- | src/KingSystem/ActorSystem/actInfoData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/ActorSystem/actInfoData.cpp b/src/KingSystem/ActorSystem/actInfoData.cpp index 94fb092d..6a4b1c21 100644 --- a/src/KingSystem/ActorSystem/actInfoData.cpp +++ b/src/KingSystem/ActorSystem/actInfoData.cpp @@ -587,7 +587,7 @@ bool InfoData::getYLimitAlgorithm(const char** algorithm, const char* actor) con f32 InfoData::getAabbNorm(const char* actor, bool x) const { sead::Vector3f min, max; if (getAAbbMinMax(actor, &min, &max, x)) - return sead::norm2(max - min); + return (max - min).length(); return 0.0; } |
