Oriented Bounding Box(OBB) More...
Public Member Functions | |
void | transform (const Mat4 &mat) |
Transforms the obb by the given transformation matrix. | |
local | transform ( local mat) |
Transforms the obb by the given transformation matrix. | |
Oriented Bounding Box(OBB)
the OBB is similar to the AABB but the bounding box has the same direction as Sprite3D. so it's collision detection more precise than AABB