Skip to content

shz_vec2_equal

Markdown
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.

NameTypeDescription
ashz_vec2_t
bshz_vec2_t

bool

  • 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"