PCG-FPS
v2 m0.22.4
Simple First Person Shooter with Procedurally Generated Level
|
Go to the documentation of this file. 1 #ifndef SKR_FPS2_RENDERER_OPENGL_RAYCAST_CALLBACK_H
2 #define SKR_FPS2_RENDERER_OPENGL_RAYCAST_CALLBACK_H
7 #include "reactphysics3d.h"
implements rp3d::RaycastCallback from ReactPhysics3D Library Used in hit detection
Definition: RaycastCallback.h:19
Definition: AssetPath.h:10
float notifyRaycastHit(const rp3d::RaycastInfo &info)
callback function called if a hit is registered
Definition: RaycastCallback.cpp:16
void ClearHits()
clears list of registered hit infos
Definition: RaycastCallback.cpp:62
std::vector< rp3d::Vector3 > _hitInfos
list of hit info objects, containing information of each registered hit
Definition: RaycastCallback.h:21