# shz_vec3_equal

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

```c
SHZ_INLINE bool shz_vec3_equal(shz_vec3_t a, shz_vec3_t b) SHZ_NOEXCEPT;
```

Returns true if the values of each element within the two 3D vectors are approximately equal based on relative or absolute tolerance.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `a` | `shz_vec3_t` |  |
| `b` | `shz_vec3_t` |  |

## Returns

`bool`

## Availability

- **C++ equivalent:** none (call the C function from C++)
- **Type-generic form:** [`shz_vec_equal()`](https://sh4zam.com/api/vector/shz_vec_equal/)
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_vector.h:267`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_vector.h#L267)
- **Module:** [Vector](https://sh4zam.com/api/vector/), section "Component-wise Operations"
