Text archives Help
- From: "Thiago Ize" <
>
- To:
- Subject: [Manta] r2310 - trunk/Model/Textures
- Date: Thu, 24 Jul 2008 15:56:09 -0600 (MDT)
Author: thiago
Date: Thu Jul 24 15:56:09 2008
New Revision: 2310
Modified:
trunk/Model/Textures/TexCoordTexture.cc
Log:
Use all three texture coordinates for setting up the color.
Modified: trunk/Model/Textures/TexCoordTexture.cc
==============================================================================
--- trunk/Model/Textures/TexCoordTexture.cc (original)
+++ trunk/Model/Textures/TexCoordTexture.cc Thu Jul 24 15:56:09 2008
@@ -51,7 +51,7 @@
// Convert the coordinates to a color.
results.set(i, Color( RGB( (ColorComponent)texCoords[0],
(ColorComponent)texCoords[1],
- (ColorComponent)0 ) ) );
+ (ColorComponent)texCoords[2] ) ) );
}
} // end mapValues
- [Manta] r2310 - trunk/Model/Textures, Thiago Ize, 07/24/2008
Archive powered by MHonArc 2.6.16.