guMtxL2F
# guMtxL2F [Function]

### Function

guMtxL2F

*Converts a matrix from fixed point to floating point *

### Syntax

```
#include <ultra64.h> /* gu.h */
void guMtxL2F(float mf[4][4], Mtx *m);
```

### Arguments

**mf**
- Resulting 4x4 floating-point matrix
**m**
- Pointer to 4x4 fixed-point matrix

### Returned value

None.

### Description

Converts the the 4x4 fixed-point matrix **m** into the floating-point matrix **mf**. This function provides a useful way to process matrices on the host CPU. For a detailed explanation about the fixed-point format see gSPMatrix. The opposite conversion from floating point to fixed point is handled with the guMtxF2L function.

### Note

The Mtx structure looks like this:

```
typedef long Mtx_t[4][4];
typedef union {
Mtx_t m;
long long int force_structure_alignment;
} Mtx;
```

### See also

gSPMatrix, guMtxF2L

### Revision history

03/01/99 Completely rewritten.