Permalink
Browse files

fixed typo to produce better help text into .h files

(thanks to Jean-Francois Gazet for the hint)
  • Loading branch information...
HBehrens committed Jan 23, 2011
1 parent ab0ca87 commit a0f123e7f75032cb68dbdd0413b76c2158d78fff
Showing with 3 additions and 2 deletions.
  1. +1 −0 banana.h
  2. +2 −2 obj2opengl.pl
View
@@ -14,6 +14,7 @@ texture coords : 4420
// set input data to arrays
glVertexPointer(3, GL_FLOAT, 0, bananaVerts);
glNormalPointer(GL_FLOAT, 0, bananaNormals);
+glTexCoordPointer(2, GL_FLOAT, 0, bananaTexCoords);
// draw data
glDrawArrays(GL_TRIANGLES, 0, bananaNumVerts);
View
@@ -20,7 +20,7 @@ =head1 DESCRIPTION
=head1 AUTHOR
-Heiko Behrens (http://www.1160pm.net)
+Heiko Behrens (http://www.HeikoBehrens.net)
=head1 VERSION
@@ -449,7 +449,7 @@ sub writeOutput {
print OUTFILE "glNormalPointer(GL_FLOAT, 0, ".$object."Normals);\n"
if $numNormals > 0;
print OUTFILE "glTexCoordPointer(2, GL_FLOAT, 0, ".$object."TexCoords);\n"
- if $numTextrue > 0;
+ if $numTexture > 0;
print OUTFILE "\n";
print OUTFILE "// draw data\n";
print OUTFILE "glDrawArrays(GL_TRIANGLES, 0, ".$object."NumVerts);\n";

0 comments on commit a0f123e

Please sign in to comment.