Text archives Help
- From: "Austin Robison" <arobison@rayscale.com>
- To: manta@sci.utah.edu
- Subject: [Manta] r2070 - trunk/Model/Textures
- Date: Thu, 14 Feb 2008 15:53:13 -0700 (MST)
Author: arobison
Date: Thu Feb 14 15:53:12 2008
New Revision: 2070
Modified:
trunk/Model/Textures/MarbleTexture.h
Log:
Removing the partial specialization from the mapValues template
so this can work for non-Color value types (for float textures).
Modified: trunk/Model/Textures/MarbleTexture.h
==============================================================================
--- trunk/Model/Textures/MarbleTexture.h (original)
+++ trunk/Model/Textures/MarbleTexture.h Thu Feb 14 15:53:12 2008
@@ -26,7 +26,7 @@
Real const lacunarity,
Real const gain );
virtual ~MarbleTexture();
- virtual void mapValues(Packet<Color>& results,
+ virtual void mapValues(Packet<ValueType>& results,
const RenderContext&,
RayPacket& rays) const;
private:
@@ -72,7 +72,7 @@
}
template< class ValueType >
- void MarbleTexture< ValueType >::mapValues(Packet<Color>& results,
+ void MarbleTexture< ValueType >::mapValues(Packet<ValueType>& results,
const RenderContext& context,
RayPacket& rays) const
{
- [Manta] r2070 - trunk/Model/Textures, Austin Robison, 02/14/2008
Archive powered by MHonArc 2.6.16.