Skip to content

shz_vec2_dot2

Markdown
SHZ_INLINE shz_vec2_t shz_vec2_dot2(shz_vec2_t l, shz_vec2_t r1, shz_vec2_t r2) SHZ_NOEXCEPT;

Returns the two dot products taken between the 2D vector l and 2D vectors r1 and r2.

NameTypeDescription
lshz_vec2_t
r1shz_vec2_t
r2shz_vec2_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: shz_vec_dot2()
  • Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_vector.h:469
  • Module: Vector, section "Binary Operations"