Text archives Help
- From: bigler@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r763 - trunk/Model/Intersections
- Date: Sat, 10 Dec 2005 13:31:06 -0700 (MST)
Author: bigler
Date: Sat Dec 10 13:31:04 2005
New Revision: 763
Modified:
trunk/Model/Intersections/Plane.h
Log:
Use 0 instead of 0.0 for the case when Scalar is float instead of double.
Modified: trunk/Model/Intersections/Plane.h
==============================================================================
--- trunk/Model/Intersections/Plane.h (original)
+++ trunk/Model/Intersections/Plane.h Sat Dec 10 13:31:04 2005
@@ -13,7 +13,7 @@
const Ray &ray ) {
Scalar dn = Dot( ray.direction(), normal );
- if (dn != 0.0) {
+ if (dn != 0) {
Scalar ao = Dot( (point-ray.origin()), normal );
t = ao/dn;
return true;
- [MANTA] r763 - trunk/Model/Intersections, bigler, 12/10/2005
Archive powered by MHonArc 2.6.16.