shz_quat_dot3
SHZ_INLINE shz_vec3_t shz_quat_dot3(shz_quat_t l, shz_quat_t r1, shz_quat_t r2, shz_quat_t r3) SHZ_NOEXCEPT;Returns the two dot products taken between the l quaternion and the r1, r2, and r3 quaternions.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
l | shz_quat_t | |
r1 | shz_quat_t | |
r2 | shz_quat_t | |
r3 | shz_quat_t |
Returns
Section titled “Returns”shz_vec3_t
Naming and requirements
Section titled “Naming and requirements”dot2/dot3: Computes 2 or 3 dot products of one left-hand side against several right-hand sides in one pipelinedFIPRsequence. (Naming and Suffixes)
Availability
Section titled “Availability”- 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:236 - Module: Quaternion, section "Arithmetic"