# shz_mat3x3_t

Source: https://sh4zam.com/api/matrix/shz_mat3x3_t/

```c
typedef struct shz_mat3x3 {
    union {
        float      elem[9];
        float      elem2D[3][3];
        shz_vec3_t col[3];
        struct {
            shz_vec3_t left;
            shz_vec3_t up;
            shz_vec3_t forward;
        };
    };
} shz_mat3x3_t;
```

Structure representing a 3x3 column-major matrix.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `elem` | `float[9]` |  |
| `elem2D` | `float[3][3]` |  |
| `col` | `shz_vec3_t[3]` |  |
| `left` | `shz_vec3_t` |  |
| `up` | `shz_vec3_t` |  |
| `forward` | `shz_vec3_t` |  |

## Availability

- **C++ equivalent:** none (usable from C++ as is)
- **Back-ends:** n/a (not a function)
- **Defined in:** [`sh4zam/shz_matrix.h:898`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_matrix.h#L898)
- **Module:** [Matrix](https://sh4zam.com/api/matrix/), section "Types"
