Skip to content

shz_vec3_dot

Markdown
SHZ_INLINE float shz_vec3_dot(shz_vec3_t vec1, shz_vec3_t vec2) SHZ_NOEXCEPT;

Returns the dot product between the two given 3D vectors.

NameTypeDescription
vec1shz_vec3_t
vec2shz_vec3_t

float

  • C++ equivalent: none (call the C function from C++)
  • Type-generic form: shz_vec_dot()
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_vector.h:475
  • Module: Vector, section "Binary Operations"