Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
PolyhedronSubmergedVolumeCalculator::Point Class Reference

A helper class that contains cached information about a polyhedron vertex. More...

#include <PolyhedronSubmergedVolumeCalculator.h>

Public Attributes

Vec3 mPosition
 World space position of vertex. More...
 
float mDistanceToSurface
 Signed distance to the surface (> 0 is above, < 0 is below) More...
 
bool mAboveSurface
 If the point is above the surface (mDistanceToSurface > 0) More...
 

Detailed Description

A helper class that contains cached information about a polyhedron vertex.

Member Data Documentation

◆ mAboveSurface

bool PolyhedronSubmergedVolumeCalculator::Point::mAboveSurface

If the point is above the surface (mDistanceToSurface > 0)

◆ mDistanceToSurface

float PolyhedronSubmergedVolumeCalculator::Point::mDistanceToSurface

Signed distance to the surface (> 0 is above, < 0 is below)

◆ mPosition

Vec3 PolyhedronSubmergedVolumeCalculator::Point::mPosition

World space position of vertex.


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