#include <CCFrustum.h>
|
| | Frustum () |
| | ~Frustum () |
| void | setupProjectionOrthogonal (const ViewTransform &view, float width, float height, float near, float far) |
| var | setupProjectionOrthogonal ( var view, var width, var height, var near, var far) |
| local | setupProjectionOrthogonal ( local view, local width, local height, local near, local far) |
| void | setupProjectionPerspective (const ViewTransform &view, float left, float right, float top, float bottom, float near, float far) |
| var | setupProjectionPerspective ( var view, var left, var right, var top, var bottom, var near, var far) |
| local | setupProjectionPerspective ( local view, local left, local right, local top, local bottom, local near, local far) |
| void | setupProjectionPerspectiveFov (const ViewTransform &view, float fov, float ratio, float near, float far) |
| void | setupFromMatrix (const kmMat4 &view, const kmMat4 &projection) |
| IntersectResult | intersectPoint (const kmVec3 &point) const |
| var | intersectPoint ( var point) |
| local | intersectPoint ( local point) |
| IntersectResult | intersectAABB (const AABB &aabb) const |
| local | intersectAABB ( local aabb) |
| IntersectResult | intersectSphere (const kmVec3 ¢er, float radius) const |
| var | intersectSphere ( var center, var radius) |
| local | intersectSphere ( local center, local radius) |
| Enumerator |
|---|
| FRUSTUM_NEAR |
|
| FRUSTUM_FAR |
|
| FRUSTUM_BOTTOM |
|
| FRUSTUM_TOP |
|
| FRUSTUM_LEFT |
|
| FRUSTUM_RIGHT |
|
| FRUSTUM_NUMBER |
|
| Enumerator |
|---|
| FRUSTUM_NEAR |
|
| FRUSTUM_FAR |
|
| FRUSTUM_BOTTOM |
|
| FRUSTUM_TOP |
|
| FRUSTUM_LEFT |
|
| FRUSTUM_RIGHT |
|
| FRUSTUM_NUMBER |
|
| Enumerator |
|---|
| FRUSTUM_NEAR |
|
| FRUSTUM_FAR |
|
| FRUSTUM_BOTTOM |
|
| FRUSTUM_TOP |
|
| FRUSTUM_LEFT |
|
| FRUSTUM_RIGHT |
|
| FRUSTUM_NUMBER |
|
| Enumerator |
|---|
| OUTSIDE |
|
| INTERSECT |
|
| INSIDE |
|
| Enumerator |
|---|
| OUTSIDE |
|
| INTERSECT |
|
| INSIDE |
|
| Enumerator |
|---|
| OUTSIDE |
|
| INTERSECT |
|
| INSIDE |
|
| var intersectAABB |
( |
var |
aabb) | |
|
| local intersectAABB |
( |
local |
aabb) | |
|
| var intersectPoint |
( |
var |
point) | |
|
| local intersectPoint |
( |
local |
point) | |
|
| IntersectResult intersectSphere |
( |
const kmVec3 & |
center, |
|
|
float |
radius |
|
) |
| const |
| var intersectSphere |
( |
var |
center, |
|
|
var |
radius |
|
) |
| |
| local intersectSphere |
( |
local |
center, |
|
|
local |
radius |
|
) |
| |
| void setupFromMatrix |
( |
const kmMat4 & |
view, |
|
|
const kmMat4 & |
projection |
|
) |
| |
| var setupFromMatrix |
( |
var |
view, |
|
|
var |
projection |
|
) |
| |
| local setupFromMatrix |
( |
local |
view, |
|
|
local |
projection |
|
) |
| |
| void setupProjectionOrthogonal |
( |
const ViewTransform & |
view, |
|
|
float |
width, |
|
|
float |
height, |
|
|
float |
near, |
|
|
float |
far |
|
) |
| |
| var setupProjectionOrthogonal |
( |
var |
view, |
|
|
var |
width, |
|
|
var |
height, |
|
|
var |
near, |
|
|
var |
far |
|
) |
| |
| local setupProjectionOrthogonal |
( |
local |
view, |
|
|
local |
width, |
|
|
local |
height, |
|
|
local |
near, |
|
|
local |
far |
|
) |
| |
| void setupProjectionPerspective |
( |
const ViewTransform & |
view, |
|
|
float |
left, |
|
|
float |
right, |
|
|
float |
top, |
|
|
float |
bottom, |
|
|
float |
near, |
|
|
float |
far |
|
) |
| |
| var setupProjectionPerspective |
( |
var |
view, |
|
|
var |
left, |
|
|
var |
right, |
|
|
var |
top, |
|
|
var |
bottom, |
|
|
var |
near, |
|
|
var |
far |
|
) |
| |
| local setupProjectionPerspective |
( |
local |
view, |
|
|
local |
left, |
|
|
local |
right, |
|
|
local |
top, |
|
|
local |
bottom, |
|
|
local |
near, |
|
|
local |
far |
|
) |
| |
| void setupProjectionPerspectiveFov |
( |
const ViewTransform & |
view, |
|
|
float |
fov, |
|
|
float |
ratio, |
|
|
float |
near, |
|
|
float |
far |
|
) |
| |
| var setupProjectionPerspectiveFov |
( |
var |
view, |
|
|
var |
fov, |
|
|
var |
ratio, |
|
|
var |
near, |
|
|
var |
far |
|
) |
| |
| local setupProjectionPerspectiveFov |
( |
local |
view, |
|
|
local |
fov, |
|
|
local |
ratio, |
|
|
local |
near, |
|
|
local |
far |
|
) |
| |
| kmPlane _frustumPlanes[FrustumPlane::FRUSTUM_NUMBER] |
|
protected |
| kmPlane _frustumPlanes[FrustumPlane::FRUSTUM_NUMBER] |
|
protected |
| kmPlane _frustumPlanes[FrustumPlane::FRUSTUM_NUMBER] |
|
protected |
The documentation for this class was generated from the following file:
- /Users/cocos2d/MyWork/cocos2d-x-develop/cocos/2d/renderer/CCFrustum.h