# shz_mat3x4_t

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

```c
typedef struct shz_mat3x4 {
    union {
        float      elem[12];
        float      elem2D[4][3];
        shz_vec3_t col[4];
        struct {
            shz_vec3_t left;
            shz_vec3_t up;
            shz_vec3_t forward;
            shz_vec3_t pos;
        };
    };
} shz_mat3x4_t;
```

Structure representing a 3x4 column-major matrix.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `elem` | `float[12]` |  |
| `elem2D` | `float[4][3]` |  |
| `col` | `shz_vec3_t[4]` |  |
| `left` | `shz_vec3_t` |  |
| `up` | `shz_vec3_t` |  |
| `forward` | `shz_vec3_t` |  |
| `pos` | `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:912`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_matrix.h#L912)
- **Module:** [Matrix](https://sh4zam.com/api/matrix/), section "Types"
