GUInity
Public Member Functions | Public Attributes | List of all members
Plane Struct Reference

#include <MathStructs.hpp>

Public Member Functions

 Plane ()
 
 ~Plane ()
 
 Plane (glm::vec3 point, glm::vec3 normal)
 
 Plane (glm::vec3 point1, glm::vec3 point2, glm::vec3 point3)
 
 Plane (glm::vec3 point1, glm::vec3 point2, glm::vec3 point3, glm::vec3 POV)
 

Public Attributes

glm::vec3 point
 
glm::vec3 normal
 

Detailed Description

Plane, a point and a normal

Constructor & Destructor Documentation

Plane::Plane ( )
inline

Default Constructor

Plane::~Plane ( )
inline

Default Destructor

Plane::Plane ( glm::vec3  point,
glm::vec3  normal 
)

Constructor with point and normal

Plane::Plane ( glm::vec3  point1,
glm::vec3  point2,
glm::vec3  point3 
)

Constructor from 3 points. Assumes points are given in CCW

Plane::Plane ( glm::vec3  point1,
glm::vec3  point2,
glm::vec3  point3,
glm::vec3  POV 
)

Constructor from 3 points. Uses Point of View to order points CCW

Member Data Documentation

glm::vec3 Plane::normal

Normal

glm::vec3 Plane::point

Point


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