struct geom::Plane
Overview
Definition of a 3 dimensional plane. More…
#include <GeometryStructures.h> struct Plane { // fields float distance { 0.0f }; glm::vec3 normal { 0.0f, 0.0f, 1.0f }; // construction Plane(); Plane(const glm::vec3& origin, const glm::vec3& normal); // methods bool operator==(const Plane& other) const; bool operator!=(const Plane& other) const; };
Detailed Documentation
Definition of a 3 dimensional plane.
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.