mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-14 19:05:52 +00:00
Improve CAABox::GetExtents
Thanks encounter
This commit is contained in:
parent
ce2276b310
commit
3f4e53ec74
@ -69,9 +69,7 @@ public:
|
||||
|
||||
inline CVector3f GetExtents() const {
|
||||
// Name is a guess
|
||||
CVector3f result = max - min;
|
||||
result *= 0.5f;
|
||||
return result;
|
||||
return (max - min) * 0.5f;
|
||||
}
|
||||
|
||||
const CVector3f& GetMinPoint() const { return min; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user