#include <CCFrustum.h>
Public Member Functions | |
| Frustum () | |
| Constructor & Destructor. More... | |
| ~Frustum () | |
| ~Frustum () | |
| ~Frustum () | |
| bool | initFrustum (const Camera *camera) |
| init frustum from camera. More... | |
| var | initFrustum ( var camera) |
| init frustum from camera. More... | |
| local | initFrustum ( local camera) |
| init frustum from camera. More... | |
| bool | isOutOfFrustum (const AABB &aabb) const |
| is aabb out of frustum. More... | |
| var | isOutOfFrustum ( var aabb) |
| is aabb out of frustum. More... | |
| local | isOutOfFrustum ( local aabb) |
| is aabb out of frustum. More... | |
| bool | isOutOfFrustum (const OBB &obb) const |
| is obb out of frustum More... | |
| var | isOutOfFrustum ( var obb) |
| is obb out of frustum More... | |
| local | isOutOfFrustum ( local obb) |
| is obb out of frustum More... | |
| void | setClipZ (bool clipZ) |
| get & set z clip. More... | |
| var | setClipZ ( var clipZ) |
| get & set z clip. More... | |
| local | setClipZ ( local clipZ) |
| get & set z clip. More... | |
| bool | isClipZ () |
| var | isClipZ () |
| local | isClipZ () |
Protected Member Functions | |
| void | createPlane (const Camera *camera) |
| create clip plane More... | |
| var | createPlane ( var camera) |
| create clip plane More... | |
| local | createPlane ( local camera) |
| create clip plane More... | |
Protected Attributes | |
| Plane | _plane [6] |
| local | _plane () |
| bool | _clipZ |
| var | _clipZ |
| local | _clipZ |
| bool | _initialized |
| var | _initialized |
| local | _initialized |
Friends | |
| class | Camera |
|
inline |
Constructor & Destructor.
|
inline |
Constructor & Destructor.
|
inline |
Constructor & Destructor.
|
inline |
|
inline |
|
inline |
|
protected |
create clip plane
|
protected |
create clip plane
|
protected |
create clip plane
| bool initFrustum | ( | const Camera * | camera | ) |
init frustum from camera.
| var initFrustum | ( | var | camera | ) |
init frustum from camera.
| local initFrustum | ( | local | camera | ) |
init frustum from camera.
|
inline |
|
inline |
|
inline |
| bool isOutOfFrustum | ( | const AABB & | aabb | ) | const |
is aabb out of frustum.
| var isOutOfFrustum | ( | var | aabb | ) |
is aabb out of frustum.
| local isOutOfFrustum | ( | local | aabb | ) |
is aabb out of frustum.
| bool isOutOfFrustum | ( | const OBB & | obb | ) | const |
is obb out of frustum
| var isOutOfFrustum | ( | var | obb | ) |
is obb out of frustum
| local isOutOfFrustum | ( | local | obb | ) |
is obb out of frustum
|
inline |
get & set z clip.
if bclipZ == true use near and far plane
|
inline |
get & set z clip.
if bclipZ == true use near and far plane
|
inline |
get & set z clip.
if bclipZ == true use near and far plane
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |