Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swaptmesh(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



swaptmesh(3G)                                                    swaptmesh(3G)



NAME
     swaptmesh - toggles the triangle mesh register pointer

C SPECIFICATION
     void swaptmesh()

PARAMETERS
     none

DESCRIPTION
     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, causing alternate
     stored vertices to be replaced.  swaptmesh toggles the pointer without
     specification of a new vertex (and no triangle is drawn).

SEE ALSO
     bgntmesh, v

NOTE
     Operation is undefined if swaptmesh is called before the second vertex of
     a triangle mesh is specified.































                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026