15 #ifndef PHYSXRAYCASTREPORT_H 16 #define PHYSXRAYCASTREPORT_H 18 #include "pandabase.h" 21 #include "config_physx.h" 34 unsigned int get_num_hits()
const;
38 MAKE_SEQ(get_hits, get_num_hits, get_hit);
42 INLINE ~PhysxRaycastReport();
44 virtual bool onHit(
const NxRaycastHit& hit);
50 typedef Hits::const_iterator const_iterator;
51 const_iterator _iterator;
54 #include "physxRaycastReport.I" 56 #endif // PHYSXRAYCASTREPORT_H
This structure captures results for a single raycast query.
Objects of this class are returned by the 'raycast all' methods.