|
ランタイム
|
平面クラス More...
#include <Plane.h>

Public Member Functions | |
| Plane (void) | |
| コンストラクタ More... | |
| Plane (const Mix::Vector3 &n, Float32 nd) | |
| コンストラクタ More... | |
| Plane (const Mix::Vector3 &p1, const Mix::Vector3 &p2, const Mix::Vector3 &p3) | |
| コンストラクタ More... | |
| void | Normalize (void) |
| 正規化します More... | |
Static Public Member Functions | |
| static void | Compute (const Mix::Vector3 &p1, const Mix::Vector3 &p2, const Mix::Vector3 &p3, Mix::Geometry::Plane &plane) |
| 平面を算出します More... | |
Public Attributes | |
| Mix::Vector3 | normal |
| 法線 More... | |
| Float32 | d |
| 法線と平面上の点の内積 More... | |
平面クラス
| Mix::Geometry::Plane::Plane | ( | void | ) |
コンストラクタ
| Mix::Geometry::Plane::Plane | ( | const Mix::Vector3 & | n, |
| Float32 | nd | ||
| ) |
コンストラクタ
| [in] | n | 法線 |
| [in] | nd | 法線と平面上の点の内積 |
| Mix::Geometry::Plane::Plane | ( | const Mix::Vector3 & | p1, |
| const Mix::Vector3 & | p2, | ||
| const Mix::Vector3 & | p3 | ||
| ) |
コンストラクタ
| [in] | p1 | 平面上の点1 |
| [in] | p2 | 平面上の点2 |
| [in] | p3 | 平面上の点3 |
| void Mix::Geometry::Plane::Normalize | ( | void | ) |
正規化します
|
static |
平面を算出します
| [in] | p1 | 平面上の点1 |
| [in] | p2 | 平面上の点2 |
| [in] | p3 | 平面上の点3 |
| [out] | plane | 算出された平面を表す Mix::Geometry::Plane クラス |
| Mix::Vector3 Mix::Geometry::Plane::normal |
法線
| Float32 Mix::Geometry::Plane::d |
法線と平面上の点の内積