Toggles the triangle mesh register pointer.
FORTRAN (libfgl.a)
void swaptmesh( )
SUBROUTINE SWAPTM
The swaptmesh subroutine toggles the triangle mesh register pointer.
The triangle mesh hardware stores two vertices. After each new vertex is specified (and a triangle comprising the new vertex and the two stored vertices is drawn), one of the stored vertices is replaced by the new vertex. The value of a two-value pointer determines which vertex is replaced. This pointer is toggled after each vertex, replacing the alternate stored vertices. The swaptmesh subroutine toggles the pointer without specification of a new vertex (and no triangle is drawn).
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Drawing triangle mesh vertices with the bgntmesh subroutine.
Ending a series of triangle mesh vertices with the endtmesh subroutine.
Transferring a vertex to the graphics pipe with the v subroutine.
AIX Graphics Library Overview, Drawing with Begin-End Style Subroutines, and Understanding the Hardware Used by GL in GL3.2 Version 4 for AIX: Programming Concepts.