group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
physics::Plane Struct Reference

An infinite plane dividing free space from solid geometry. More...

#include <SweptCollision.hpp>

Public Attributes

glm::vec3 normal
 Unit vector pointing into free (non-solid) space.
 
float distance
 Signed offset: dot(normal, p) == distance for points on the plane.
 

Detailed Description

An infinite plane dividing free space from solid geometry.

Member Data Documentation

◆ distance

float physics::Plane::distance

Signed offset: dot(normal, p) == distance for points on the plane.

◆ normal

glm::vec3 physics::Plane::normal

Unit vector pointing into free (non-solid) space.


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