Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ translate(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

translate()  —  Silicon Graphics

NAME

translate − translates graphical primitives

SPECIFICATION

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

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

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

DESCRIPTION

translate places the object space origin at a given world coordinate point.  translate is a modeling routine, which changes the current transformation matrix.  All objects drawn after translate executes are translated.  Use pushmatrix and popmatrix to limit the scope of the translation. 

SEE ALSO

popmatrix, pushmatrix, rotate, scale IRIS Graphics Programming, Section 4.1, Modeling Transformations

Version 2.5r1  —  October 29, 1986

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