guPosition
Creates a rotation/parallel translation modeling matrix (floating point)
#include <ultra64.h> /* gu.h */
void guPositionF(
float mf[4][4],
float r,
float p,
float h,
float s,
float x,
float y,
float z);
None
Scales by s the object rotated according to (r, p, h) and returns to mf the 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 with the guPosition function.
An angle with a positive value represents counter-clockwise rotation. Be careful about the corresponding axis and the order of rotation.
guAlign, guAlignF, guPosition, guRotate, guRotateF, guScale, guScaleF, guTranslate, and guTranslateF
03/01/99 Completely rewritten.