|
| static float | float_radians (float degrees) |
| |
| static float | float_degrees (float radians) |
| |
| static float | float_clamp (float f, float min, float max) |
| |
| static float | float_saturate (float f) |
| |
| static float | float_lerp (float a, float b, float t) |
| |
| static float | float_smoothstep (float edge0, float edge1, float f) |
| |
| static float | float_sign (float f) |
| |
| static vec2 | vec2_new (float x, float y) |
| |
| static vec2 | vec2_zero (void) |
| |
| static vec2 | vec2_one (void) |
| |
| static vec2 | vec2_add (vec2 a, vec2 b) |
| |
| static vec2 | vec2_sub (vec2 a, vec2 b) |
| |
| static vec2 | vec2_mul (vec2 a, vec2 b) |
| |
| static vec2 | vec2_scale (vec2 v, float s) |
| |
| static vec2 | vec2_negate (vec2 v) |
| |
| static float | vec2_dot (vec2 a, vec2 b) |
| |
| static float | vec2_length_squared (vec2 v) |
| |
| static float | vec2_length (vec2 v) |
| |
| static float | vec2_distance (vec2 a, vec2 b) |
| |
| static vec2 | vec2_normalize (vec2 v) |
| |
| static vec2 | vec2_min (vec2 a, vec2 b) |
| |
| static vec2 | vec2_max (vec2 a, vec2 b) |
| |
| static vec2 | vec2_lerp (vec2 a, vec2 b, float t) |
| |
| static bool | vec2_equal (vec2 a, vec2 b) |
| |
| static vec3 | vec3_new (float x, float y, float z) |
| |
| static vec3 | vec3_zero (void) |
| |
| static vec3 | vec3_one (void) |
| |
| static vec3 | vec3_add (vec3 a, vec3 b) |
| |
| static vec3 | vec3_sub (vec3 a, vec3 b) |
| |
| static vec3 | vec3_mul (vec3 a, vec3 b) |
| |
| static vec3 | vec3_scale (vec3 v, float s) |
| |
| static vec3 | vec3_negate (vec3 v) |
| |
| static float | vec3_dot (vec3 a, vec3 b) |
| |
| static vec3 | vec3_cross (vec3 a, vec3 b) |
| |
| static float | vec3_length_squared (vec3 v) |
| |
| static float | vec3_length (vec3 v) |
| |
| static float | vec3_distance (vec3 a, vec3 b) |
| |
| static vec3 | vec3_normalize (vec3 v) |
| |
| static vec3 | vec3_min (vec3 a, vec3 b) |
| |
| static vec3 | vec3_max (vec3 a, vec3 b) |
| |
| static vec3 | vec3_lerp (vec3 a, vec3 b, float t) |
| |
| static vec3 | vec3_fma (vec3 v, vec3 add, float s) |
| |
| static vec3 | vec3_reflect (vec3 v, vec3 n) |
| |
| static bool | vec3_equal (vec3 a, vec3 b) |
| |
| static vec4 | vec4_new (float x, float y, float z, float w) |
| |
| static vec4 | vec4_zero (void) |
| |
| static vec4 | vec4_one (void) |
| |
| static vec4 | vec4_add (vec4 a, vec4 b) |
| |
| static vec4 | vec4_sub (vec4 a, vec4 b) |
| |
| static vec4 | vec4_mul (vec4 a, vec4 b) |
| |
| static vec4 | vec4_scale (vec4 v, float s) |
| |
| static vec4 | vec4_negate (vec4 v) |
| |
| static float | vec4_dot (vec4 a, vec4 b) |
| |
| static float | vec4_length_squared (vec4 v) |
| |
| static float | vec4_length (vec4 v) |
| |
| static float | vec4_distance (vec4 a, vec4 b) |
| |
| static vec4 | vec4_normalize (vec4 v) |
| |
| static vec4 | vec4_min (vec4 a, vec4 b) |
| |
| static vec4 | vec4_max (vec4 a, vec4 b) |
| |
| static vec4 | vec4_lerp (vec4 a, vec4 b, float t) |
| |
| static bool | vec4_equal (vec4 a, vec4 b) |
| |
| static mat4 | mat4_new (const float src[16]) |
| |
| static mat4 | mat4_from_cols (vec4 c0, vec4 c1, vec4 c2, vec4 c3) |
| |
| static mat4 | mat4_identity (void) |
| |
| static mat4 | mat4_mul (mat4 a, mat4 b) |
| |
| static mat4 | mat4_translation (vec3 t) |
| |
| static mat4 | mat4_rotation (float degrees, vec3 axis) |
| |
| static mat4 | mat4_scale3 (vec3 s) |
| |
| static mat4 | mat4_scale (float s) |
| |
| static mat4 | mat4_perspective (float fovy, float aspect, float znear, float zfar) |
| |
| static mat4 | mat4_ortho (float left, float right, float bottom, float top, float znear, float zfar) |
| |
| static mat4 | mat4_look_at (vec3 eye, vec3 center, vec3 up) |
| |
| static mat4 | mat4_inverse (mat4 a) |
| |
| static vec3 | mat4_transform (mat4 m, vec3 v) |
| |
| static vec4 | mat4_transform4 (mat4 m, vec4 v) |
| |