Text archives Help
- From: boulos@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r1981 - trunk/Interface
- Date: Wed, 9 Jan 2008 14:28:41 -0700 (MST)
Author: boulos
Date: Wed Jan 9 14:28:40 2008
New Revision: 1981
Modified:
trunk/Interface/RayPacket.h
Log:
Interface/RayPacket.h
Forgot to add helper functions for setting and getting the
IgnoreEmittedLight data.
Modified: trunk/Interface/RayPacket.h
==============================================================================
--- trunk/Interface/RayPacket.h (original)
+++ trunk/Interface/RayPacket.h Wed Jan 9 14:28:40 2008
@@ -709,6 +709,14 @@
for(int i=rayBegin;i<rayEnd;i++)
data->importance[j][i] = 1;
}
+ // Ignore Emitted Light
+ int getIgnoreEmittedLight(int which) const {
+ return data->ignoreEmittedLight[which];
+ }
+ void setIgnoreEmittedLight(int which, int new_ignore) {
+ data->ignoreEmittedLight[which] = new_ignore;
+ }
+
// Texture Coordinates
void setTexCoords(int which, const Vector& tc)
- [Manta] r1981 - trunk/Interface, boulos, 01/09/2008
Archive powered by MHonArc 2.6.16.