---
name: "QUAT"
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/QUAT/3alleg4"
---

# QUAT(3alleg4)

Stores quaternion information. Allegro game programming library.

## NAME

QUAT - Stores quaternion information. Allegro game programming library.

## SYNOPSIS

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

**typedef struct QUAT**

## DESCRIPTION

```
   float w, x, y, z;
```

Read chapter "Quaternion math routines" for a description on how to obtain/use this structure.

## SEE ALSO

, **exquat**(3alleg4)
