# shz_xmtrx_load_cols_4x4

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

```c
SHZ_INLINE void shz_xmtrx_load_cols_4x4(const shz_vec4_t* c1, const shz_vec4_t* c2, const shz_vec4_t* c3, const shz_vec4_t* c4) SHZ_NOEXCEPT;
```

Sets XMTRX equal to the 4x4 matrix created from the 4 given 4D column vectors.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `c1` | `const shz_vec4_t *` |  |
| `c2` | `const shz_vec4_t *` |  |
| `c3` | `const shz_vec4_t *` |  |
| `c4` | `const shz_vec4_t *` |  |

## 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:133`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_xmtrx.h#L133)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Loading"
