Cocos2d-x  v3.17
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
OBB Class Reference

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.
 

Detailed Description

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


The documentation for this class was generated from the following file: