---
name: "MATRIX_f"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MATRIX_f/3alleg4"
---

# MATRIX\_f(3alleg4)

Floating point matrix structure. Allegro game programming library.

## NAME

MATRIX\_f - Floating point matrix structure. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**typedef struct MATRIX\_f**

## DESCRIPTION

```
   float v[3][3];           - 3x3 scaling and rotation component
   float t[3];              - x/y/z translation component
```

Floating point matrix structure. Read chapter "3D math routines" for a description on how to obtain/use this structure.

## SEE ALSO

**MATRIX**(3alleg4), **excamera**(3alleg4), **exquat**(3alleg4), **exscn3d**(3alleg4), **exzbuf**(3alleg4)
