Semantic indentation (OpenGL)

Paul Prescod paulp at ActiveState.com
Fri Oct 12 16:40:53 CEST 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