Skip to content

shz_quat_dot

Markdown
SHZ_INLINE float shz_quat_dot(shz_quat_t q1, shz_quat_t q2) SHZ_NOEXCEPT;

Returns the dot product of the two quaternions.

NameTypeDescription
q1shz_quat_t
q2shz_quat_t

float

  • 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:230
  • Module: Quaternion, section "Arithmetic"