# shz_xmtrx_init_identity_safe

Source: https://sh4zam.com/api/xmtrx/shz_xmtrx_init_identity_safe/

```c
SHZ_INLINE void shz_xmtrx_init_identity_safe(void) SHZ_NOEXCEPT;
```

Safely initializes XMTRX to be a 4D identity matrix.

**Deprecated:** `shz_xmtrx_init_identity()` is already safe now by default. This routine simply calls directly into it and should not be used.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `` | `void` |  |

## Returns

Nothing (`void`).

## Availability

- **C++ equivalent:** none (call the C function from C++)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_xmtrx.h:249`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_xmtrx.h#L249)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Initialization"

## See also

[`shz_xmtrx_init_identity`](https://sh4zam.com/api/xmtrx/shz_xmtrx_init_identity/)
