Changeset 149 for cafu/trunk/Libs/MaterialSystem/MapComposition.cpp
- Timestamp:
- 09/03/10 00:25:58 (21 months ago)
- Files:
-
- 1 modified
-
cafu/trunk/Libs/MaterialSystem/MapComposition.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cafu/trunk/Libs/MaterialSystem/MapComposition.cpp
r51 r149 27 27 28 28 #include <math.h> 29 #include <stdio.h>30 29 31 30 #include "MapComposition.hpp" … … 748 747 749 748 case HeightMapToNormalMap: 750 { 751 char hmScaleString[32]; 752 753 sprintf(hmScaleString, "%f", HeightScale); 754 return std::string("hm2nm(")+Child1->GetString()+", "+hmScaleString+")"; 755 } 749 return std::string("hm2nm(")+Child1->GetString()+", "+cf::va("%f", HeightScale)+")"; 756 750 757 751 case FlipNormalMapYAxis:
