shz_dot8f
SHZ_INLINE float shz_dot8f(float x1, float y1, float z1, float w1, float x2, float y2, float z2, float w2) SHZ_NOEXCEPT;Takes two sets of 4D vectors as 4 floats and calculates their dot product using an approximation.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x1 | float | |
y1 | float | |
z1 | float | |
w1 | float | |
x2 | float | |
y2 | float | |
z2 | float | |
w2 | float |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::dot8f - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:313 - Module: Scalar, section "FIPR"