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. | |
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. | |
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 |