OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
Planef Struct Reference

#include <Plane.h>

Public Member Functions

float signedDistanceTo (const Vec3f &point) const
 

Public Attributes

Vec3f normal
 
float dist = 0.0f
 

Friends

bool operator== (const Planef &l, const Planef &r)=default
 

Member Function Documentation

◆ signedDistanceTo()

float Planef::signedDistanceTo ( const Vec3f point) const
inline
Parameters
pointPoint to calculate distance to.
Returns
Signed distance to the provided point from this plane. Positive value means that point is in the half-space that the normal is pointing to, and this usually is "outside" the model that the face belongs to.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const Planef l,
const Planef r 
)
friend

Member Data Documentation

◆ dist

float Planef::dist = 0.0f

◆ normal

Vec3f Planef::normal

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