Text archives Help
- From: rocky@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r477 - branches/itanium2/Model/MiscObjects
- Date: Tue, 16 Aug 2005 18:09:47 -0600 (MDT)
Author: rocky
Date: Tue Aug 16 18:09:45 2005
New Revision: 477
Modified:
branches/itanium2/Model/MiscObjects/CuttingPlane.cc
Log:
Reset constant origin flag when ray origins adjusted by clipping plane.
Modified: branches/itanium2/Model/MiscObjects/CuttingPlane.cc
==============================================================================
--- branches/itanium2/Model/MiscObjects/CuttingPlane.cc (original)
+++ branches/itanium2/Model/MiscObjects/CuttingPlane.cc Tue Aug 16 18:09:45
2005
@@ -74,6 +74,8 @@
// If front facing, move the
new ray to the cutting plane.
n.ray.set(e.ray.origin()+(e.ray.direction()*plane_t[new_i]),e.ray.direction());
+
new_rays.resetFlag(RayPacket::ConstantOrigin);
+
// Subtract the distance from
the hit t.
n.hitInfo.reset(
e.hitInfo.minT() - plane_t[new_i] );
@@ -142,4 +144,4 @@
}
}
}
-}
\ No newline at end of file
+}
- [MANTA] r477 - branches/itanium2/Model/MiscObjects, rocky, 08/16/2005
Archive powered by MHonArc 2.6.16.