HPC_Voxel_Engine 0.2.0
High-Performance C++ Voxel Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Plane Struct Reference

#include <src/renderer/Frustum.h>

Collaboration diagram for Plane:
Collaboration graph

Public Member Functions

 Plane ()=default
 
 Plane (float _a, float _b, float _c, float _d)
 
void Normalize ()
 
float GetSignedDistanceToPlane (const Core::Vec3 &point) const
 

Public Attributes

float a = 0.0f
 
float b = 0.0f
 
float c = 0.0f
 
float d = 0.0f
 

Constructor & Destructor Documentation

◆ Plane() [1/2]

Plane::Plane ( )
default

◆ Plane() [2/2]

Plane::Plane ( float  _a,
float  _b,
float  _c,
float  _d 
)
inline

Member Function Documentation

◆ GetSignedDistanceToPlane()

float Plane::GetSignedDistanceToPlane ( const Core::Vec3 point) const
inline

◆ Normalize()

void Plane::Normalize ( )
inline

Member Data Documentation

◆ a

float Plane::a = 0.0f

◆ b

float Plane::b = 0.0f

◆ c

float Plane::c = 0.0f

◆ d

float Plane::d = 0.0f

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