shz_vec4_abs
SHZ_INLINE shz_vec4_t shz_vec4_abs(shz_vec4_t vec) SHZ_NOEXCEPT;Returns a 4D vector whose components are the absolute values of the given vector's components.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec | shz_vec4_t |
Returns
Section titled “Returns”shz_vec4_t
Availability
Section titled “Availability”- C++ equivalent:
shz::vec4::abs - Type-generic form:
shz_vec_abs() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:144 - Module: Vector, section "Component-wise Operations"