shz_vec2_floor
SHZ_INLINE shz_vec2_t shz_vec2_floor(shz_vec2_t vec) SHZ_NOEXCEPT;Returns a 2D vector whose components are the floor of the given vector's components.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec | shz_vec2_t |
Returns
Section titled “Returns”shz_vec2_t
Availability
Section titled “Availability”- C++ equivalent:
shz::vec2::floor - Type-generic form:
shz_vec_floor() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:192 - Module: Vector, section "Component-wise Operations"