![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
Simple implementation that collects all hits and optionally sorts them on distance. 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 |
| void | Sort () |
| Order hits on closest first. More... | |
| bool | HadHit () const |
| Check if any hits were collected. More... | |
Public Attributes | |
| Array< ResultType > | mHits |
Simple implementation that collects all hits and optionally sorts them on distance.
| using AllHitCollisionCollector< CollectorType >::ResultType = typename CollectorType::ResultType |
Redeclare ResultType.
|
inlineoverridevirtual |
|
inline |
Check if any hits were collected.
|
inlineoverridevirtual |
|
inline |
Order hits on closest first.
| Array<ResultType> AllHitCollisionCollector< CollectorType >::mHits |