Text archives Help
- From: sparker@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r805 - branches/vertical/Model/Primitives
- Date: Tue, 27 Dec 2005 15:15:51 -0700 (MST)
Author: sparker
Date: Tue Dec 27 15:15:51 2005
New Revision: 805
Modified:
branches/vertical/Model/Primitives/Sphere.cc
Log:
Whitespace adjustments
Modified: branches/vertical/Model/Primitives/Sphere.cc
==============================================================================
--- branches/vertical/Model/Primitives/Sphere.cc (original)
+++ branches/vertical/Model/Primitives/Sphere.cc Tue Dec 27 15:15:51
2005
@@ -44,14 +44,14 @@
if(tca < 0){
// Behind ray, no intersections...
} else {
- Real t2hc=rad2-l2oc+tca*tca;
- if(t2hc <= 0){
- // Ray misses, no intersections
- } else {
- Real thc=Sqrt(t2hc);
- e.hitInfo.hit(tca-thc, getMaterial(),
this, getTexCoordMapper());
- e.hitInfo.hit(tca+thc, getMaterial(),
this, getTexCoordMapper());
- }
+ Real t2hc=rad2-l2oc+tca*tca;
+ if(t2hc <= 0){
+ // Ray misses, no intersections
+ } else {
+ Real thc=Sqrt(t2hc);
+ e.hitInfo.hit(tca-thc, getMaterial(), this, getTexCoordMapper());
+ e.hitInfo.hit(tca+thc, getMaterial(), this, getTexCoordMapper());
+ }
}
}
}
- [MANTA] r805 - branches/vertical/Model/Primitives, sparker, 12/27/2005
Archive powered by MHonArc 2.6.16.