ランタイム
|
AABBクラス More...
#include <AABB.h>
Public Member Functions | |
AABB (void) | |
コンストラクタ More... | |
AABB (const Mix::Vector3 &_min, const Mix::Vector3 &_max) | |
コンストラクタ More... | |
AABB (const Mix::Geometry::Sphere &sphere) | |
コンストラクタ More... | |
AABB & | ComputeMinMax (void) |
頂点座標から最小値、最大値を求めます More... | |
AABB & | ComputeMinMax (const Mix::Matrix4x4 &mat) |
頂点座標から最小値、最大値を求めます More... | |
AABB & | ComputePoints (void) |
設定された「最小値」「最大値」を元にAABBの頂点座標(8つ)を求めます More... | |
AABB & | ComputePoints (const Mix::Matrix4x4 &mat) |
最小値、最大値から頂点座標を求めます More... | |
AABB & | operator= (const Mix::Geometry::Sphere &sphere) |
球を代入します More... | |
AABB & | operator+= (const Mix::Geometry::AABB &aabb) |
AABBを代入結合します More... | |
AABB & | operator+= (const Mix::Geometry::Sphere &sphere) |
球を代入結合します More... | |
AABB & | operator+= (const Mix::Vector3 &point) |
ポイントを代入結合します More... | |
AABB | operator+ (const Mix::Geometry::AABB &aabb) const |
AABBを結合します More... | |
AABB | operator+ (const Mix::Geometry::Sphere &sphere) const |
球を結合します More... | |
AABB | operator+ (const Mix::Vector3 &point) const |
ポイントを結合します More... | |
Public Attributes | |
Mix::Vector3 | min |
最小値 More... | |
Mix::Vector3 | max |
最大値 More... | |
Mix::Vector3 | center |
中心 More... | |
Mix::Vector3 | points [8] |
頂点座標配列 More... | |
AABBクラス
Mix::Geometry::AABB::AABB | ( | void | ) |
コンストラクタ
Mix::Geometry::AABB::AABB | ( | const Mix::Vector3 & | _min, |
const Mix::Vector3 & | _max | ||
) |
コンストラクタ
[in] | _min | 最小値 |
[in] | _max | 最大値 |
Mix::Geometry::AABB::AABB | ( | const Mix::Geometry::Sphere & | sphere | ) |
コンストラクタ
[in] | sphere | 代入する球を表す Mix::Geometry::Sphere クラス |
AABB& Mix::Geometry::AABB::ComputeMinMax | ( | void | ) |
頂点座標から最小値、最大値を求めます
AABB& Mix::Geometry::AABB::ComputeMinMax | ( | const Mix::Matrix4x4 & | mat | ) |
頂点座標から最小値、最大値を求めます
[in] | mat | 変換行列を表す Mix::Matrix4x4 クラス |
AABB& Mix::Geometry::AABB::ComputePoints | ( | void | ) |
設定された「最小値」「最大値」を元にAABBの頂点座標(8つ)を求めます
AABB& Mix::Geometry::AABB::ComputePoints | ( | const Mix::Matrix4x4 & | mat | ) |
最小値、最大値から頂点座標を求めます
[in] | mat | 変換行列を表す Mix::Matrix4x4 クラス |
AABB& Mix::Geometry::AABB::operator= | ( | const Mix::Geometry::Sphere & | sphere | ) |
球を代入します
[in] | sphere | 代入する球を表す Mix::Geometry::Sphere クラス |
AABB& Mix::Geometry::AABB::operator+= | ( | const Mix::Geometry::AABB & | aabb | ) |
AABBを代入結合します
[in] | aabb | 代入結合するAABBを表す Mix::Geometry::AABB クラス |
AABB& Mix::Geometry::AABB::operator+= | ( | const Mix::Geometry::Sphere & | sphere | ) |
球を代入結合します
[in] | sphere | 代入結合する球を表す Mix::Geometry::Sphere クラス |
AABB& Mix::Geometry::AABB::operator+= | ( | const Mix::Vector3 & | point | ) |
ポイントを代入結合します
[in] | point | 代入結合するポイントを表す Mix::Vector3 クラス |
AABB Mix::Geometry::AABB::operator+ | ( | const Mix::Geometry::AABB & | aabb | ) | const |
AABBを結合します
[in] | aabb | 結合するAABBを表す Mix::Geometry::AABB クラス |
AABB Mix::Geometry::AABB::operator+ | ( | const Mix::Geometry::Sphere & | sphere | ) | const |
球を結合します
[in] | sphere | 結合する球を表す Mix::Geometry::Sphere クラス |
AABB Mix::Geometry::AABB::operator+ | ( | const Mix::Vector3 & | point | ) | const |
ポイントを結合します
[in] | point | 結合するポイントを表す Mix::Vector3 クラス |
Mix::Vector3 Mix::Geometry::AABB::min |
最小値
Mix::Vector3 Mix::Geometry::AABB::max |
最大値
Mix::Vector3 Mix::Geometry::AABB::center |
中心
Mix::Vector3 Mix::Geometry::AABB::points[8] |
頂点座標配列