Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
smlt::Plane Struct Reference

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)
 
PlaneClassification classify_point (const Vec3 &p) const
 

Static Public Member Functions

static smlt::optional< Vec3intersect_planes (const Plane &p1, const Plane &p2, const Plane &p3)
 

Public Attributes

Vec3 n
 
float d
 

The documentation for this struct was generated from the following files: