#include <CCOBB.h>
| OBB |
( |
const Vec3 * |
verts, |
|
|
int |
num |
|
) |
| |
| bool containPoint |
( |
const Vec3 & |
point | ) |
const |
| void getCorners |
( |
Vec3 * |
verts | ) |
const |
| Vec3 getEdgeDirection |
( |
int |
index | ) |
const |
|
protected |
| Vec3 getFaceDirection |
( |
int |
index | ) |
const |
|
protected |
| void getInterval |
( |
const OBB & |
box, |
|
|
const Vec3 & |
axis, |
|
|
float & |
min, |
|
|
float & |
max |
|
) |
| const |
|
protected |
| bool intersects |
( |
const OBB & |
box | ) |
const |
| float projectPoint |
( |
const Vec3 & |
point, |
|
|
const Vec3 & |
axis |
|
) |
| const |
|
protected |
| void set |
( |
const Vec3 & |
center, |
|
|
const Vec3 & |
_xAxis, |
|
|
const Vec3 & |
_yAxis, |
|
|
const Vec3 & |
_zAxis, |
|
|
const Vec3 & |
_extents |
|
) |
| |
| void transform |
( |
const Mat4 & |
mat | ) |
|
Transforms the obb by the given transformation matrix.
The documentation for this class was generated from the following file:
- /Users/huihoo/Software/huihoo-code/cocos2d-x/cocos2d-x-3.3/cocos/3d/CCOBB.h