ランタイム
|
球クラス More...
#include <Sphere.h>
Public Member Functions | |
Sphere (void) | |
コンストラクタ More... | |
Sphere (Float32 cx, Float32 cy, Float32 cz, Float32 r) | |
コンストラクタ More... | |
Sphere (const Mix::Vector3 &c, Float32 r) | |
コンストラクタ More... | |
Sphere (const Mix::Geometry::AABB &aabb) | |
コンストラクタ More... | |
Mix::Geometry::Sphere & | operator= (const Mix::Geometry::AABB &aabb) |
AABBを代入します More... | |
Mix::Geometry::Sphere & | operator+= (const Mix::Geometry::Sphere &sphere) |
球を代入結合します More... | |
Mix::Geometry::Sphere & | operator+= (const Mix::Geometry::AABB &aabb) |
AABBを代入結合します More... | |
Mix::Geometry::Sphere | operator+ (const Mix::Geometry::Sphere &sphere) const |
球を結合します More... | |
Mix::Geometry::Sphere | operator+ (const Mix::Geometry::AABB &aabb) const |
AABBを結合します More... | |
Public Attributes | |
Mix::Vector3 | center |
中心座標 More... | |
Float32 | radius |
半径 More... | |
球クラス
Mix::Geometry::Sphere::Sphere | ( | void | ) |
コンストラクタ
コンストラクタ
[in] | cx | 中心のX座標 |
[in] | cy | 中心のY座標 |
[in] | cz | 中心のZ座標 |
[in] | r | 半径 |
Mix::Geometry::Sphere::Sphere | ( | const Mix::Vector3 & | c, |
Float32 | r | ||
) |
コンストラクタ
[in] | c | 中心座標を表す Mix::Vector3 クラス |
[in] | r | 半径 |
Mix::Geometry::Sphere::Sphere | ( | const Mix::Geometry::AABB & | aabb | ) |
コンストラクタ
[in] | aabb | 代入するAABBを表す Mix::Geometry::AABB クラス |
Mix::Geometry::Sphere& Mix::Geometry::Sphere::operator= | ( | const Mix::Geometry::AABB & | aabb | ) |
AABBを代入します
[in] | aabb | 代入するAABBを表す Mix::Geometry::AABB クラス |
Mix::Geometry::Sphere& Mix::Geometry::Sphere::operator+= | ( | const Mix::Geometry::Sphere & | sphere | ) |
球を代入結合します
[in] | sphere | 代入結合する球を表す Mix::Geometry::Sphere クラス |
Mix::Geometry::Sphere& Mix::Geometry::Sphere::operator+= | ( | const Mix::Geometry::AABB & | aabb | ) |
AABBを代入結合します
[in] | aabb | 代入結合する球を表す Mix::Geometry::AABB クラス |
Mix::Geometry::Sphere Mix::Geometry::Sphere::operator+ | ( | const Mix::Geometry::Sphere & | sphere | ) | const |
球を結合します
[in] | sphere | 結合する球を表す Mix::Geometry::Sphere クラス |
Mix::Geometry::Sphere Mix::Geometry::Sphere::operator+ | ( | const Mix::Geometry::AABB & | aabb | ) | const |
AABBを結合します
[in] | aabb | 結合するAABBを表す Mix::Geometry::AABB クラス |
Mix::Vector3 Mix::Geometry::Sphere::center |
中心座標
Float32 Mix::Geometry::Sphere::radius |
半径