Semantic indentation (OpenGL)

Paul Prescod paulp at ActiveState.com
Fri Oct 12 10:40:53 EDT 2001


Marek Kroèák wrote:
> 
>...
> 
> glBegin(GL_POINTS);
> 
>         ...
> 
>         glVertex3f(...);
> 
>         ...
> 
> glEnd();

Try this:

GL_BLOCK=1

glBegin(GL_POINTS);
if GL_BLOCK:
     glVertex3f(...);
glEnd();

 Paul Prescod




More information about the Python-list mailing list