mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-01 19:53:41 +00:00
Fix AABB::getCenter()
This commit is contained in:
parent
7a597c698e
commit
e277252a1d
@ -50,7 +50,7 @@ public:
|
||||
MCAPI static class AABB const EMPTY;
|
||||
|
||||
inline Vec3 getCenter() const{
|
||||
return (min + max)/2;
|
||||
return min+(max-min)*0.5;
|
||||
};
|
||||
|
||||
inline Vec3& operator[](int index) {
|
||||
|
Loading…
Reference in New Issue
Block a user