mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Addresses roughly half of the C4189 errors though the following methodologies:
1) truly unused vars removed 2) vars leading to remmed out code for debugging remmed in turn. left out: vars in macros.
This commit is contained in:
parent
b24bdfbc8b
commit
555610f69f
8 changed files with 9 additions and 15 deletions
|
|
@ -77,8 +77,11 @@ bool SphereF::intersectsRay( const Point3F &start, const Point3F &end ) const
|
|||
// value for getting the exact
|
||||
// intersection point, by interpolating
|
||||
// start to end by t.
|
||||
|
||||
/*
|
||||
F32 t = 0;
|
||||
TORQUE_UNUSED(t);
|
||||
*/
|
||||
|
||||
// if t1 is less than zero, the object is in the ray's negative direction
|
||||
// and consequently the ray misses the sphere
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue