#include <BuddhaPlane.h>
Public Member Functions | |
Plane (void) | |
コンストラクタ | |
Plane (Vector3 normal, FLOAT d) | |
コンストラクタ | |
Side | GetSide (const Vector3 &point) const |
指定された点 point が水平面の表側にあるか、裏側にあるかを調べて返す | |
FLOAT | GetDistance (const Vector3 &position) const |
point からの距離を返す | |
Public Attributes | |
Vector3 | Normal |
水平面に直交する単位ベクトル | |
FLOAT | D |
原点から水平面までの単位ベクトルの距離 |
BuddhaLib::Plane::Plane | ( | Vector3 | normal, | |
FLOAT | d | |||
) |
コンストラクタ
normal | 水平面に直交する単位ベクトル | |
d | 原点から水平面までの単位ベクトルの距離 |