Alternate fix for castRay issue

This commit is contained in:
James Urquhart 2023-11-04 22:06:13 +00:00
parent edbb76155b
commit 97d7d2e992
4 changed files with 5 additions and 6 deletions

View file

@ -668,7 +668,7 @@ class SceneContainer
/// @name Line intersection
/// @{
typedef bool ( *CastRayCallback )( RayInfo* ri );
typedef bool ( *CastRayCallback )( SceneObject* object );
/// Test against collision geometry -- fast.
bool castRay( const Point3F &start, const Point3F &end, U32 mask, RayInfo* info, CastRayCallback callback = NULL );