shz_vec2_divf
SHZ_INLINE shz_vec2_t shz_vec2_divf(shz_vec2_t num, float denom) SHZ_NOEXCEPT;Returns a 2D vector whose component values are those of num divided by the scalar denom.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
num | shz_vec2_t | |
denom | float |
Returns
Section titled “Returns”shz_vec2_t
Availability
Section titled “Availability”- C++ equivalent:
shz::vec2::divf - Type-generic form:
shz_vec_divf() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:436 - Module: Vector, section "Arithmetic"