shz_vec2_angle_between
SHZ_INLINE float shz_vec2_angle_between(shz_vec2_t vec1, shz_vec2_t vec2) SHZ_NOEXCEPT;Returns the angle formed between the given 2D vectors in radians.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec1 | shz_vec2_t | |
vec2 | shz_vec2_t |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::vec2::angle_between - Type-generic form:
shz_vec_angle_between() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:621 - Module: Vector, section "Angles"