From d911f4b1d1e7fdab1ec24f3b2fe397372c6d23e3 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 28 Sep 2004 09:43:46 +0000 Subject: [PATCH] minor changes --- apps/shadevis/gen_normal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/shadevis/gen_normal.h b/apps/shadevis/gen_normal.h index 49514539..19f07fe9 100644 --- a/apps/shadevis/gen_normal.h +++ b/apps/shadevis/gen_normal.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.3 2004/09/16 14:23:57 ponchio +fixed gcc template compatibility issues. + Revision 1.2 2004/09/10 14:02:20 cignoni Added Cone directions @@ -72,6 +75,7 @@ static void UniformCone(int vn, std::vector > &NN, ScalarTyp printf("----------AngleRad %f Angledeg %f ratio %f vn %i vn2 %i \n",AngleRad,math::ToDeg(AngleRad),Ratio,vn,int(vn/Ratio)); Uniform(vn/Ratio,NNT); + printf("asked %i got %i (expecting %i instead of %i)\n", int(vn/Ratio), NNT.size(), int(NNT.size()*Ratio), vn); typename std::vector >::iterator vi; ScalarType DotProd = cos(AngleRad);