Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pclos(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pclos()  —  Silicon Graphics

NAME

pclos - polygon close

SPECIFICATION

C
pclos()

FORTRAN
subroutine pclos

Pascal
procedure pclos;

DESCRIPTION

pclos closes a filled polygon.  It is used to terminate a sequence of pmv and pdr or rpmv and rpdr commands.  The polygon so defined is filled using the current texture, color, writemask.  For example, the following sequence draws a square:

pmv(0.0, 0.0, 0.0);
pdr(1.0, 0.0, 0.0);
pdr(1.0, 1.0, 0.0);
pdr(0.0, 1.0, 0.0);
pclos();

The results are undefined if the polygon is not convex. 

SEE ALSO

pdr, pmv, rpdr, rpmv

Version 2.4  —  May 08, 1986

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