From 20df9e7c7d9715173b2bdfd5697526b2f49b8dbe Mon Sep 17 00:00:00 2001 From: ThePixelGamer Date: Wed, 6 Oct 2021 18:02:53 -0500 Subject: Update misc files to match sead math changes --- src/KingSystem/ActorSystem/actInfoData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/KingSystem/ActorSystem/actInfoData.cpp') 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; } -- cgit v1.2.3