Transforming AABB's?

Miscellaneous Forums/General Discussion/Transforming AABB's?

I'm not sure what your asking to be honest but in B3d ...

;check point is inside aabb, assuming Pivot is the center and has oriention

tformpoint p\x , p\y , p\z, Pivot, 0

If abs( tformedx() ) < WidthOfBox and abs( tformedy() ) < HeightOfBox and abs( tformedz() ) < DepthOfBox
{Point is inside the box}
endif

Maybe helps, probably not, but if you explain yourself better then I can probably help.

Stevie