VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::Plane Struct Reference

Represents a plane in 3D space. More...

#include <frustum.hpp>

Public Member Functions

void normalize ()
float getSignedDistance (const glm::vec3 &point) const
 Returns signed distance from plane to point.

Public Attributes

glm::vec3 normal
float distance

Detailed Description

Represents a plane in 3D space.

Definition at line 14 of file frustum.hpp.

Member Function Documentation

◆ getSignedDistance()

float vex::Plane::getSignedDistance ( const glm::vec3 & point) const
inline

Returns signed distance from plane to point.

Definition at line 25 of file frustum.hpp.

◆ normalize()

void vex::Plane::normalize ( )
inline

Definition at line 18 of file frustum.hpp.

Member Data Documentation

◆ distance

float vex::Plane::distance

Definition at line 16 of file frustum.hpp.

◆ normal

glm::vec3 vex::Plane::normal

Definition at line 15 of file frustum.hpp.


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