shz_vec4_add
SHZ_INLINE shz_vec4_t shz_vec4_add(shz_vec4_t vec1, shz_vec4_t vec2) SHZ_NOEXCEPT;Returns a 4D vector whose components are the sums of the given vectors' components.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec1 | shz_vec4_t | |
vec2 | shz_vec4_t |
Returns
Section titled “Returns”shz_vec4_t
Availability
Section titled “Availability”- C++ equivalent: none (call the C function from C++)
- Type-generic form:
shz_vec_add() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: dedicated SPU implementation
- Defined in:
sh4zam/shz_vector.h:359 - Module: Vector, section "Arithmetic"