Simulant
21.12-1275
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
|
Public Member Functions | |
Plane (const Vec3 &N, float D) | |
Plane (const Vec3 &N, const Vec3 &P) | |
Plane (float A, float B, float C, float D) | |
Vec3 | project (const Vec3 &p) |
Vec3 | normal () const |
float | distance_to (const Vec3 &p) const |
PlaneClassification | classify_point (const Vec3 &p) const |
Static Public Member Functions | |
static smlt::optional< Vec3 > | intersect_planes (const Plane &p1, const Plane &p2, const Plane &p3) |
Public Attributes | |
Vec3 | n |
float | d |