# shz_vec3_orthonormalize

Source: https://sh4zam.com/api/vector/shz_vec3_orthonormalize/

```c
SHZ_INLINE void shz_vec3_orthonormalize(shz_vec3_t in1, shz_vec3_t in2, shz_vec3_t* out1, shz_vec3_t* out2) SHZ_NOEXCEPT;
```

Returns 2 3D vectors which are normalized and orthogonal to the two input vectors.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `in1` | `shz_vec3_t` |  |
| `in2` | `shz_vec3_t` |  |
| `out1` | `shz_vec3_t *` |  |
| `out2` | `shz_vec3_t *` |  |

## Returns

Nothing (`void`).

## Availability

- **C++ equivalent:** [`shz::vec3::orthonormalize`](https://sh4zam.com/api/cpp/vec3/#orthonormalize)
- **Type-generic form:** none
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_vector.h:608`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_vector.h#L608)
- **Module:** [Vector](https://sh4zam.com/api/vector/), section "Miscellaneous"
