Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed typo to produce better help text into .h files

(thanks to Jean-Francois Gazet for the hint)
  • Loading branch information...
commit a0f123e7f75032cb68dbdd0413b76c2158d78fff 1 parent ab0ca87
@HBehrens authored
Showing with 3 additions and 2 deletions.
  1. +1 −0  banana.h
  2. +2 −2 obj2opengl.pl
View
1  banana.h
@@ -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
4 obj2opengl.pl
@@ -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";
Please sign in to comment.
Something went wrong with that request. Please try again.