Monado OpenXR Runtime
|
C vec2 math library. More...
Go to the source code of this file.
Typedefs | |
typedef float | m_vec2_float_arr[2] |
Functions | |
static struct xrt_vec2 | m_vec2_mul (struct xrt_vec2 l, struct xrt_vec2 r) |
static struct xrt_vec2 | m_vec2_mul_scalar (struct xrt_vec2 l, float r) |
static struct xrt_vec2 | m_vec2_add (struct xrt_vec2 l, struct xrt_vec2 r) |
static struct xrt_vec2 | m_vec2_add_scalar (struct xrt_vec2 l, float r) |
static struct xrt_vec2 | m_vec2_sub (struct xrt_vec2 l, struct xrt_vec2 r) |
static struct xrt_vec2 | m_vec2_sub_scalar (struct xrt_vec2 l, float r) |
static struct xrt_vec2 | m_vec2_div (struct xrt_vec2 l, struct xrt_vec2 r) |
static struct xrt_vec2 | m_vec2_div_scalar (struct xrt_vec2 l, float r) |
static float | m_vec2_len_sqrd (struct xrt_vec2 l) |
static float | m_vec2_len (struct xrt_vec2 l) |
static void | m_vec2_normalize (struct xrt_vec2 *inout) |
static float | m_vec2_dot (struct xrt_vec2 l, struct xrt_vec2 r) |
static struct xrt_vec2 | m_vec2_lerp (struct xrt_vec2 from, struct xrt_vec2 to, float amount) |
static m_vec2_float_arr * | m_vec2_ptr_to_float_arr_ptr (struct xrt_vec2 *ptr) |
C vec2 math library.