15 #include "physxRaycastReport.h" 16 #include "physxRaycastHit.h" 23 bool PhysxRaycastReport::
24 onHit(
const NxRaycastHit& hit) {
35 unsigned int PhysxRaycastReport::
36 get_num_hits()
const {
49 _iterator = _hits.begin();
50 return get_next_hit();
61 if (_iterator != _hits.end()) {
77 get_hit(
unsigned int idx) {
79 if (!(idx < _hits.size()))
This structure captures results for a single raycast query.