GlistEngine
Loading...
Searching...
No Matches
gCamera::Plane Struct Reference

#include <gCamera.h>

Public Member Functions

 Plane ()=default
 Plane (const glm::vec3 &p1, const glm::vec3 &norm)
float getSignedDistanceToPlane (const glm::vec3 &point) const
bool checkAABB (const gBoundingBox &aabb) const

Public Attributes

glm::vec3 normal
float distance

Constructor & Destructor Documentation

◆ Plane() [1/2]

gCamera::Plane::Plane ( )
default

◆ Plane() [2/2]

gCamera::Plane::Plane ( const glm::vec3 & p1,
const glm::vec3 & norm )
inline

Member Function Documentation

◆ checkAABB()

bool gCamera::Plane::checkAABB ( const gBoundingBox & aabb) const
inline

◆ getSignedDistanceToPlane()

float gCamera::Plane::getSignedDistanceToPlane ( const glm::vec3 & point) const
inline

Member Data Documentation

◆ distance

float gCamera::Plane::distance

◆ normal

glm::vec3 gCamera::Plane::normal

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