A few compiler warning fixes
This commit is contained in:
@@ -283,7 +283,7 @@ int cTracer::intersect3D_SegmentPlane( const Vector3f & a_Origin, const Vector3f
|
||||
if (fabs(D) < EPSILON)
|
||||
{
|
||||
// segment is parallel to plane
|
||||
if (N == 0)
|
||||
if (N == 0.0)
|
||||
{
|
||||
// segment lies in plane
|
||||
return 2;
|
||||
|
||||
Reference in New Issue
Block a user