Skip to content

shz_vec4_equal

Markdown
SHZ_INLINE bool shz_vec4_equal(shz_vec4_t a, shz_vec4_t b) SHZ_NOEXCEPT;

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

NameTypeDescription
ashz_vec4_t
bshz_vec4_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:270
  • Module: Vector, section "Component-wise Operations"