shz_vec2_equal
SHZ_INLINE bool shz_vec2_equal(shz_vec2_t a, shz_vec2_t b) SHZ_NOEXCEPT;Returns true if the values of each element within the two 2D vectors are approximately equal based on relative or absolute tolerance.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
a | shz_vec2_t | |
b | shz_vec2_t |
Returns
Section titled “Returns”bool
Availability
Section titled “Availability”- C++ equivalent: none (call the C function from C++)
- Type-generic form:
shz_vec_equal() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:264 - Module: Vector, section "Component-wise Operations"