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

# QUAT(3alleg)

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**(3alleg)](/exquat/3alleg.md)
