---
name: "MATRIX_f"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/MATRIX_f"
---

# MATRIX\_f(3alleg)

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**(3alleg)](/MATRIX/3alleg.md), [**excamera**(3alleg)](/excamera/3alleg.md), [**exquat**(3alleg)](/exquat/3alleg.md), [**exscn3d**(3alleg)](/exscn3d/3alleg.md), [**exzbuf**(3alleg)](/exzbuf/3alleg.md)
