1#ifndef ULT_MATH_PLANE_H_INCLUDED
2#define ULT_MATH_PLANE_H_INCLUDED
36 Plane(
const float a,
const float b,
const float c,
const float d);
82 float GetDistance(
const float x,
const float y,
const float z)
const;
94 Vector3D* inVerts,
const int totalInVerts,
95 Vector3D* outFrontVerts,
int* totalOutFrontVerts,
96 Vector3D* outBackVerts,
int* totalOutBackVerts
void SetNormal(const Vector3D &n)
Definition Plane.h:102
Plane()
Definition Plane.cpp:9
Vector3D mPointOnPlane
Definition Plane.h:132
Plane & operator=(const Plane &p)
Definition Plane.h:121
Vector3D Reflect(const Vector3D &vec, const float e) const
Definition Plane.cpp:151
bool operator==(const Plane &p)
Definition Plane.h:111
float mB
Definition Plane.h:130
bool Intersect(const Plane &pl, Vector3D *intersectPoint) const
Definition Plane.cpp:41
PlaneStatus ClassifyPoint(const Vector3D &v) const
Definition Plane.cpp:120
Vector3D GetNormal() const
Definition Plane.h:100
bool ClipTriangle(Vector3D *inVerts, const int totalInVerts, Vector3D *outFrontVerts, int *totalOutFrontVerts, Vector3D *outBackVerts, int *totalOutBackVerts)
Definition Plane.cpp:166
bool Intersect(const OBB &obb)
void CreatePlaneFromTri(const Vector3D &t1, const Vector3D &t2, const Vector3D &t3)
Definition Plane.cpp:25
void SetPointOnPlane(const Vector3D &p)
Definition Plane.h:105
float mD
Definition Plane.h:130
float mA
Definition Plane.h:130
float GetDistance(const Vector3D &v) const
Definition Plane.cpp:141
float mC
Definition Plane.h:130
float y
Definition Vector3D.h:116
float x
Definition Vector3D.h:116
float z
Definition Vector3D.h:116
PlaneStatus
Definition Plane.h:13
@ Back
Definition Plane.h:15
@ Front
Definition Plane.h:14
@ Culled
Definition Plane.h:18
@ Clipped
Definition Plane.h:17
@ OnPlane
Definition Plane.h:16
@ Visible
Definition Plane.h:19