mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merge pull request #1611 from jamesu/box3f_extend_fix
Fix axis check in Box3F::extend method
This commit is contained in:
commit
c03615a3dd
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ inline void Box3F::extend(const Point3F & p)
|
|||
#define EXTEND_AXIS(AXIS) \
|
||||
if (p.AXIS < minExtents.AXIS) \
|
||||
minExtents.AXIS = p.AXIS; \
|
||||
else if (p.AXIS > maxExtents.AXIS) \
|
||||
if (p.AXIS > maxExtents.AXIS) \
|
||||
maxExtents.AXIS = p.AXIS;
|
||||
|
||||
EXTEND_AXIS(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue