Skip to content

shz_quat_equal

Markdown
SHZ_INLINE bool shz_quat_equal(shz_quat_t a, shz_quat_t b) SHZ_NOEXCEPT;

Returns true if the two given quaternions are considered equal based on either absolute or relative tolerance.

NameTypeDescription
ashz_quat_t
bshz_quat_t

bool

  • C++ equivalent: none (call the C function from C++)
  • Type-generic form: none
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_quat.h:63
  • Module: Quaternion, section "Initialization"