guTranslateF

guTranslateF [Function]

Function

guTranslateF

Creates a translation modeling matrix (floating point)

Syntax

#include <ultra64.h>        /* gu.h */
void guTranslateF(float mf[4][4], float x, float y, float z);

Arguments

mf
The matrix resulting from the calculation
x
Amount of translation along x-axis
y
Amount of translation along y-axis
z
Amount of translation along z-axis

Returned Value

None.

Description

Returns to mf a modeling matrix translated by (x, y, z). When this function is called, the result is the creation of the following kind of modeling matrix:

Fixed point is handled by the guTranslate function.

See Also

guTranslate

Revision History

03/01/99 Completely rewritten.