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

# identity\_matrix(3alleg)

Global containing the identity matrix. Allegro game programming library.

## NAME

identity\_matrix, identity\_matrix\_f - Global containing the identity matrix. Allegro game programming library.

## SYNOPSIS

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

**extern MATRIX identity\_matrix;**

**extern MATRIX\_f identity\_matrix\_f;**

## DESCRIPTION

Global variables containing the 'do nothing' identity matrix. Multiplying  by the identity matrix has no effect.
