guScaleF

guScaleF [Function]

Function

guScale

Creates a scale modeling matrix (floating point)

Syntax

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

Arguments

mf
The matrix resulting from the calculations
x
x-axis scale value
y
y-axis scale value
z
z-axis scale value

Returned value

None.

Description

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

Fixed point is handled with the guScale function.

See Also

guAlign, guAlignF, guPosition, guPositionF, guRotate, guRotateF, guScale, guTranslate, and guTranslateF

Revision History

03/01/99 Completely rewritten.