Skip to content

shz_quat_dot2

Markdown
SHZ_INLINE shz_vec2_t shz_quat_dot2(shz_quat_t l, shz_quat_t r1, shz_quat_t r2) SHZ_NOEXCEPT;

Returns the two dot products taken between the l quaternion and the r1 and r2 quaternions.

NameTypeDescription
lshz_quat_t
r1shz_quat_t
r2shz_quat_t

shz_vec2_t

  • dot2/dot3: Computes 2 or 3 dot products of one left-hand side against several right-hand sides in one pipelined FIPR sequence. (Naming and Suffixes)
  • 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:233
  • Module: Quaternion, section "Arithmetic"