mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Fix axis check in Box3F::extend method
This commit is contained in:
parent
a2e0b1a163
commit
49a735e051
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ inline void Box3F::extend(const Point3F & p)
|
||||||
#define EXTEND_AXIS(AXIS) \
|
#define EXTEND_AXIS(AXIS) \
|
||||||
if (p.AXIS < minExtents.AXIS) \
|
if (p.AXIS < minExtents.AXIS) \
|
||||||
minExtents.AXIS = p.AXIS; \
|
minExtents.AXIS = p.AXIS; \
|
||||||
else if (p.AXIS > maxExtents.AXIS) \
|
if (p.AXIS > maxExtents.AXIS) \
|
||||||
maxExtents.AXIS = p.AXIS;
|
maxExtents.AXIS = p.AXIS;
|
||||||
|
|
||||||
EXTEND_AXIS(x)
|
EXTEND_AXIS(x)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue