From: <dc...@us...> - 2012-03-25 06:13:53
|
Revision: 1208 http://freeglut.svn.sourceforge.net/freeglut/?rev=1208&view=rev Author: dcnieho Date: 2012-03-25 06:13:47 +0000 (Sun, 25 Mar 2012) Log Message: ----------- correcting a few typos i made earlier in the comments Modified Paths: -------------- trunk/freeglut/freeglut/src/fg_geometry.c Modified: trunk/freeglut/freeglut/src/fg_geometry.c =================================================================== --- trunk/freeglut/freeglut/src/fg_geometry.c 2012-03-24 21:26:54 UTC (rev 1207) +++ trunk/freeglut/freeglut/src/fg_geometry.c 2012-03-25 06:13:47 UTC (rev 1208) @@ -87,8 +87,9 @@ } /* Shape decomposition to triangles - * We'll use glDrawElements to draw all shapes that are not triangles, so - * generate an index vector here, using the below sampling scheme. + * We'll use glDrawElements to draw all shapes that are not naturally + * composed of triangles, so generate an index vector here, using the + * below sampling scheme. * Be careful to keep winding of all triangles counter-clockwise, * assuming that input has correct winding... */ @@ -102,7 +103,7 @@ switch (numEdgePerFace) { case 3: - /* nothing to do here, we'll drawn with glDrawArrays */ + /* nothing to do here, we'll draw with glDrawArrays */ break; case 4: vertSamps = vert4Decomp; @@ -155,7 +156,7 @@ /* Cache of input to glDrawArrays or glDrawElements * In general, we build arrays with all vertices or normals. * We cant compress this and use glDrawElements as all combinations of - * vertex and normals are unique. + * vertices and normals are unique. */ #define DECLARE_SHAPE_CACHE(name,nameICaps,nameCaps)\ static GLboolean name##Cached = FALSE;\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |