Game Development Community

BBox3F::intersect: intersect or union?

by Frank Bignone · in Torque 3D Professional · 10/05/2009 (4:19 am) · 0 replies

This function name is misleading (see Overlapped boxes question).
It is used in two place inside T3D:
- decalRoad.cpp line 1270 (in fact should be ok as the purpose is to compute union of boxes)
- decalRoad.cpp line 1362 (not too much sideeffect as purpose it to compute an update bbox)
- terrCell.cpp line 305, 313, ... (looks ok as it is to update bounds with children)
- tsShapeEdit.cpp line 792 (ok as it is when adding a new mesh, so union is ok)



About the author

Real programmers don't waste time recompiling; they patch the binary files... ... Real programmers don't waste time patching binary files; they patch memory.