Utilities
Utilities header only library
geom::Plane Struct Reference

Definition of a 3 dimensional plane. More...

Public Member Functions

 Plane (const glm::vec3 &origin, const glm::vec3 &normal)
 
bool operator== (const Plane &other) const
 
bool operator!= (const Plane &other) const
 

Data Fields

float distance { 0.0f }
 Distance from the origin in the direction of a normal.
 
glm::vec3 normal { 0.0f, 0.0f, 1.0f }
 Orientation of the plane.
 

Detailed Description

Definition of a 3 dimensional plane.