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

Oritened 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

Oritened Bounding Box(OBB)

the OBB is similar to the AABB but the bounding box has the same direction as Sprite3D. so it's collistion detection more precise than AABB


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