mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-10 11:07:41 +00:00
Improve match for CScriptSpecialFunction::Render
Former-commit-id: 80843df748
This commit is contained in:
@@ -67,6 +67,13 @@ public:
|
||||
CVector3f ClampToBox(const CVector3f& vec) const;
|
||||
CAABox GetTransformedAABox(const CTransform4f& xf) const;
|
||||
|
||||
inline CVector3f GetExtents() const {
|
||||
// Name is a guess
|
||||
CVector3f result = max - min;
|
||||
result *= 0.5f;
|
||||
return result;
|
||||
}
|
||||
|
||||
const CVector3f& GetMinPoint() const { return min; }
|
||||
const CVector3f& GetMaxPoint() const { return max; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user