Text archives Help
- From: sparker@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r773 - trunk/Model/Textures
- Date: Mon, 12 Dec 2005 22:26:40 -0700 (MST)
Author: sparker
Date: Mon Dec 12 22:26:39 2005
New Revision: 773
Modified:
trunk/Model/Textures/Constant.h
trunk/Model/Textures/ImageTexture.cc
trunk/Model/Textures/OakTexture.h
Log:
Fixes for OS/X (gcc 4.0.1) build
Modified: trunk/Model/Textures/Constant.h
==============================================================================
--- trunk/Model/Textures/Constant.h (original)
+++ trunk/Model/Textures/Constant.h Mon Dec 12 22:26:39 2005
@@ -3,6 +3,7 @@
#define Manta_Model_Constant_h
#include <Interface/Texture.h>
+#include <Interface/RayPacket.h>
namespace Manta {
class RayPacket;
Modified: trunk/Model/Textures/ImageTexture.cc
==============================================================================
--- trunk/Model/Textures/ImageTexture.cc (original)
+++ trunk/Model/Textures/ImageTexture.cc Mon Dec 12 22:26:39 2005
@@ -30,15 +30,15 @@
#include <Interface/RayPacket.h>
#include <Interface/Image.h>
+#include <Core/Color/Color.h>
#include <Core/Exceptions/InternalError.h>
-
#include <Core/Geometry/PointVector.h>
#include <Core/Math/MiscMath.h>
#include <Core/Math/Trig.h>
namespace Manta {
- template ImageTexture<Color>;
+ template class ImageTexture<Color>;
} // end namespace Manta
Modified: trunk/Model/Textures/OakTexture.h
==============================================================================
--- trunk/Model/Textures/OakTexture.h (original)
+++ trunk/Model/Textures/OakTexture.h Mon Dec 12 22:26:39 2005
@@ -8,7 +8,6 @@
#include <Core/Math/Noise.h>
#include <Core/Math/MiscMath.h>
-
namespace Manta {
class RayPacket;
class RenderContext;
@@ -127,7 +126,7 @@
g = grainy * SmoothStep( g * g, 0.5, 1.0 );
if ( it == 0 )
inring *= 0.7;
- grain = max( grain, g );
+ grain = SCIRun::Max( grain, g );
Pgrain.multiplyBy(2.0);
amp *= 0.5;
}
- [MANTA] r773 - trunk/Model/Textures, sparker, 12/12/2005
Archive powered by MHonArc 2.6.16.