guTranslate.3p 767 Bytes
.TH guTranslate 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
guTranslate, guTranslateF \- computes a translation modeling matrix.
.SH C SPECIFICATION
.nf
\f3#include "gu.h"

void guTranslate(Mtx m, float x, float y, float z)

void guTranslateF(float m[4][4], float x, float y, float z)

\fP
.fi
.SH PARAMETERS
.TP 10
.I m
resulting 4x4 projection matrix.
.TP
.I x, y, z
translation value along x, y, and z axis.
.SH DESCRIPTION
.I guTranslate
returns a fixed point 4x4 matrix 
.B m.
.PP
For a detailed description of the 
fixed-point matrix format, see
.I gSPMatrix (3P).
.PP
.I guTranslateF
returns a floating-point 4x4 matrix
.B m.

.SH SEE ALSO
.IR guRotate (3P)
.IR guScale (3P)
.IR guPosition (3P)
.IR guAlign (3P)
.IR gSPMatrix (3P)
.IR glTranslate (3G)