"L. Spiro Engine"
|
A 3D plane. More...
#include <LSMPlane3.h>
Public Member Functions | |
LSE_INLINE LSE_CALLCTOR | CPlane3 (const CPlane3 &_pPlane) |
LSE_INLINE LSE_CALLCTOR | CPlane3 (const CVector3 &_vPoint0, const CVector3 &_vPoint1, const CVector3 &_vPoint2) |
LSE_INLINE LSE_CALLCTOR | CPlane3 (const CVector3 &_vNormal, LSREAL _fDistance) |
LSE_INLINE LSE_CALLCTOR | CPlane3 (const CVector3 &_vPoint, const CVector3 &_vNormal) |
LSE_INLINE LSVOID LSE_FCALL | Normalize () |
A 3D plane.
Class CPlane3 Description: A 3D plane stored in constant-normal form (normal + distance from origin). Note that the plane is stored such that ax + by + cx - d = 0 instead of ax + by + cx + d = 0 to avoid the superfluous negation that frequently occurs in math related to planes.
LSE_INLINE LSVOID LSE_FCALL lsm::CPlane3::Normalize | ( | ) |
Normalize this plane.
Reimplemented from lsm::CPlane3Base< LSREAL, CVector3 >.