PCG-FPS
v2 m0.22.4
Simple First Person Shooter with Procedurally Generated Level
|
implements rp3d::RaycastCallback from ReactPhysics3D Library Used in hit detection More...
#include <RaycastCallback.h>
Public Member Functions | |
float | notifyRaycastHit (const rp3d::RaycastInfo &info) |
callback function called if a hit is registered More... | |
void | ClearHits () |
clears list of registered hit infos More... | |
Public Attributes | |
std::vector< rp3d::Vector3 > | _hitInfos |
list of hit info objects, containing information of each registered hit More... | |
implements rp3d::RaycastCallback from ReactPhysics3D Library Used in hit detection
void skr::fps2::Collision::RaycastCallback::ClearHits | ( | ) |
clears list of registered hit infos
float skr::fps2::Collision::RaycastCallback::notifyRaycastHit | ( | const rp3d::RaycastInfo & | info | ) |
callback function called if a hit is registered
info | info bject, containing information of the registered hit |
std::vector<rp3d::Vector3> skr::fps2::Collision::RaycastCallback::_hitInfos |
list of hit info objects, containing information of each registered hit