guMtxCatF

guMtxCatF [Function]

Function

guMtxCatF

Multiplies matrices (floating point)

Syntax

#include <ultra64.h>        /* gu.h */
void guMtxCatF(float m[4][4], float n[4][4], float r[4][4]);

Arguments

m
First matrix
n
Second matrix
r
Matrix resulting from the computation (m x n)

Returned value

None.

Description

Executes a multiplication of the two matrices (m, n) and returns the result to r. This function provides a useful way to process matrices on the host CPU. Fixed point can be handled with the guMtxCatL function.

For details, see 1-5-2 "Matrix Multiplication" in Step 3 of the Kantan Manual.

Note

It is alright for the resulting matrix r to comprise just one of the input matrices m or n.

See also

guMtxCatL

Revision history

03/01/99 Completely rewritten.