Text archives Help
- From: boulos@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r1881 - trunk/Model/Materials
- Date: Wed, 28 Nov 2007 12:46:40 -0700 (MST)
Author: boulos
Date: Wed Nov 28 12:46:39 2007
New Revision: 1881
Modified:
trunk/Model/Materials/Phong.cc
Log:
Model/Materials/Phong.cc
Fixing NoSSE-Double build. The commented out (useless) line should
also work now even if you comment it back in.
Modified: trunk/Model/Materials/Phong.cc
==============================================================================
--- trunk/Model/Materials/Phong.cc (original)
+++ trunk/Model/Materials/Phong.cc Wed Nov 28 12:46:39 2007
@@ -87,7 +87,7 @@
speculartex = new Constant<Color>(specular);
refltex = new Constant<ColorComponent>(refl);
do_refl = (refl != 0);
- highlight_threshold = Pow(COLOR_EPSILON, 1.f/specpow);
+ //highlight_threshold = Pow(COLOR_EPSILON, (Real)1.f/specpow);
highlight_threshold = 0;
}
@@ -106,7 +106,7 @@
} else {
do_refl = false;
}
- highlight_threshold = Pow(COLOR_EPSILON, 1.f/specpow);
+ //highlight_threshold = Pow(COLOR_EPSILON, (Real)1.f/specpow);
highlight_threshold = 0;
}
- [Manta] r1881 - trunk/Model/Materials, boulos, 11/28/2007
Archive powered by MHonArc 2.6.16.