ランタイム
|
フラスタムクラス More...
#include <Frustum.h>
Public Types | |
enum | PLANE_TYPE { PLANE_NEAR = 0, PLANE_FAR = 1, PLANE_TOP = 2, PLANE_BOTTOM = 3, PLANE_LEFT = 4, PLANE_RIGHT = 5 } |
プレーンタイプ列挙定数 More... | |
Public Member Functions | |
Frustum (void) | |
コンストラクタ More... | |
Frustum (const Mix::Matrix4x4 &viewProjMat) | |
コンストラクタ More... | |
void | Update (const Mix::Matrix4x4 &viewProjMat) |
更新を行います More... | |
const Mix::Matrix4x4 & | GetViewProjectionMatrix (void) const |
透視変換行列を取得します More... | |
const Mix::Geometry::Plane & | GetPlane (Mix::Geometry::Frustum::PLANE_TYPE type) const |
フラスタムを構成する平面を取得します More... | |
Boolean | Contains (const Mix::Vector3 &point) const |
点がフラスタム内に入っているかどうかを判定します More... | |
Boolean | Contains (const Mix::Geometry::Sphere &sphere) const |
球がフラスタム内に入っているかどうかを判定します More... | |
Boolean | ContainsTBLR (const Mix::Geometry::Sphere &sphere) const |
球がフラスタム内に入っているかどうかを判定します( Top Bottom Left Right ) More... | |
Boolean | Contains (const Mix::Geometry::AABB &aabb) const |
AABBがフラスタム内に入っているかどうかを判定します More... | |
Boolean | ContainsTBLR (const Mix::Geometry::AABB &aabb) const |
AABBがフラスタム内に入っているかどうかを判定します( Top Bottom Left Right ) More... | |
フラスタムクラス
Mix::Geometry::Frustum::Frustum | ( | void | ) |
コンストラクタ
Mix::Geometry::Frustum::Frustum | ( | const Mix::Matrix4x4 & | viewProjMat | ) |
コンストラクタ
[in] | viewProjMat | 透視変換行列を表す Mix::Matrix4x4 クラス |
void Mix::Geometry::Frustum::Update | ( | const Mix::Matrix4x4 & | viewProjMat | ) |
更新を行います
const Mix::Matrix4x4& Mix::Geometry::Frustum::GetViewProjectionMatrix | ( | void | ) | const |
透視変換行列を取得します
const Mix::Geometry::Plane& Mix::Geometry::Frustum::GetPlane | ( | Mix::Geometry::Frustum::PLANE_TYPE | type | ) | const |
フラスタムを構成する平面を取得します
[in] | type | Mix::Geometry::Frustum::PLANE_TYPE 列挙定数 |
Boolean Mix::Geometry::Frustum::Contains | ( | const Mix::Vector3 & | point | ) | const |
点がフラスタム内に入っているかどうかを判定します
[in] | point | 点を表す Mix::Vector3 クラス |
Boolean Mix::Geometry::Frustum::Contains | ( | const Mix::Geometry::Sphere & | sphere | ) | const |
球がフラスタム内に入っているかどうかを判定します
[in] | sphere | 球を表す Mix::Geometry::Sphere クラス |
Boolean Mix::Geometry::Frustum::ContainsTBLR | ( | const Mix::Geometry::Sphere & | sphere | ) | const |
球がフラスタム内に入っているかどうかを判定します( Top Bottom Left Right )
[in] | sphere | 球を表す Mix::Geometry::Sphere クラス |
Boolean Mix::Geometry::Frustum::Contains | ( | const Mix::Geometry::AABB & | aabb | ) | const |
AABBがフラスタム内に入っているかどうかを判定します
[in] | aabb | AABBを表す Mix::Geometry::AABB クラス |
Boolean Mix::Geometry::Frustum::ContainsTBLR | ( | const Mix::Geometry::AABB & | aabb | ) | const |
AABBがフラスタム内に入っているかどうかを判定します( Top Bottom Left Right )
[in] | aabb | AABBを表す Mix::Geometry::AABB クラス |