mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Alternate fix for castRay issue
This commit is contained in:
parent
edbb76155b
commit
97d7d2e992
4 changed files with 5 additions and 6 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue