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