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:
Azaezel 2015-07-29 03:03:27 -05:00
parent b24bdfbc8b
commit 555610f69f
8 changed files with 9 additions and 15 deletions

View file

@ -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