# shz_xmtrx_trace_3x3

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

```c
SHZ_INLINE float shz_xmtrx_trace_3x3(void) SHZ_NOEXCEPT;
```

Returns the trace of the upper 3x3 submatrix of XMTRX.

## Parameters

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

## Returns

`float`

## 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:1223`](https://github.com/gyrovorbis/sh4zam/blob/6b22b851ad9ca109049f956dbbbecf7c519c959f/include/sh4zam/shz_xmtrx.h#L1223)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Miscellaneous"
