aboutsummaryrefslogtreecommitdiff
path: root/Source/Quaternions.cpp
diff options
context:
space:
mode:
authorrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-09 05:01:00 +0000
committerrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-09 05:01:00 +0000
commit544af26f4ead1c0ba48d57fb0a47afded3218475 (patch)
tree1326264d0b63d4e51d732310756040e2460f4b48 /Source/Quaternions.cpp
parente51e51230c9959a1120febbe63582147689552a7 (diff)
downloadblackshades-544af26f4ead1c0ba48d57fb0a47afded3218475.tar.gz
removed warning
git-svn-id: svn://svn.icculus.org/blackshades/trunk@58 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/Quaternions.cpp')
-rw-r--r--Source/Quaternions.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Quaternions.cpp b/Source/Quaternions.cpp
index a16218f..bf7f58c 100644
--- a/Source/Quaternions.cpp
+++ b/Source/Quaternions.cpp
@@ -711,10 +711,8 @@ bool sphere_line_intersection (
// no intersection
return(0);
}
- if ( i >= 0.0 )
- {
- return(1);
- }
+
+ return(1);
}
XYZ DoRotationRadian(XYZ thePoint, float xang, float yang, float zang){