Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cmov(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

cmov()  —  Silicon Graphics Beta Release

NAME

cmov - changes the current character position

SPECIFICATION

C
cmov(x, y, z)
Coord x, y, z;

cmovi(x, y, z)
Icoord x, y, z;

cmovs(x, y, z)
Scoord x, y, z;

cmov2(x, y)
Coord x, y;

cmov2i(x, y)
Icoord x, y;

cmov2s(x, y)
Scoord x, y;

FORTRAN
subroutine cmov(x, y, z)
real x, y, z

subroutine cmovi(x, y, z)
integer*4 x, y, z

subroutine cmovs(x, y, z)
integer*2 x, y, z

subroutine cmov2(x, y)
real x, y

subroutine cmov2i(x, y)
integer*4 x, y

subroutine cmov2s(x, y)
integer*2 x, y

Pascal
procedure cmov(x, y, z: Coord);

procedure cmovi(x, y, z: Icoord);

procedure cmovs(x, y, z: Scoord);

procedure cmov2(x, y: Coord);

procedure cmov2i(x, y: Icoord);

procedure cmov2s(x, y: Scoord);

DESCRIPTION

cmov is analogous to move except that it updates the current character position.  Its arguments specify a world space point, and can be integers, shorts, or real numbers in 2D or 3D space.  This world space point is transformed; the resulting screen space point becomes the new character position.  The character position is undefined if the transformed point is outside the viewport. 

cmov leaves the current graphics position undefined. 

SEE ALSO

charstr, move, readpixels, readRGB, writepixels, writeRGB

Version 2.3  —  July 04, 1985

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