---
name: "Identity"
section: "3"
platform: "linux"
package: "libvolpack1-dev"
version: "1.0b3-10"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Identity"
---

# Identity(3)

load the identity matrix into the current transformation matrix

## NAME

vpIdentityMatrix - load the identity matrix into the current transformation matrix

## SYNOPSIS

\#include \<volpack.h\>

vpResult

**vpIdentityMatrix(***vpc***)**

-

  vpContext *\*vpc;*

## ARGUMENTS

- *vpc*

  VolPack context from **vpCreateContext.**

## DESCRIPTION

**vpIdentityMatrix** is used to load a 4-by-4 identity matrix into the current transformation matrix.  Use **vpCurrentMatrix** to set the current transformation matrix.

## ERRORS

The return value is always VP\_OK.

## SEE ALSO

[VolPack(3)](/VolPack/3.md), vpCreateContext(3), vpCurrentMatrix(3), vpGetMatrix(3)
