Jolt Physics
A multi core friendly Game Physics Engine
|
Simple implementation that collects the closest / deepest hit. More...
#include <CollisionCollectorImpl.h>
Public Types | |
using | ResultType = typename CollectorType::ResultType |
Redeclare ResultType. More... | |
Public Member Functions | |
virtual void | Reset () override |
virtual void | AddHit (const ResultType &inResult) override |
bool | HadHit () const |
Check if this collector has had a hit. More... | |
Public Attributes | |
ResultType | mHit |
Simple implementation that collects the closest / deepest hit.
using ClosestHitCollisionCollector< CollectorType >::ResultType = typename CollectorType::ResultType |
Redeclare ResultType.
|
inlineoverridevirtual |
|
inline |
Check if this collector has had a hit.
|
inlineoverridevirtual |
ResultType ClosestHitCollisionCollector< CollectorType >::mHit |