balaur::Vec4
71 functions, 16 constants. A name bound to one holds its own copy, and a method answers a new value.
Functions
abs, abs_diff_eq, ceil, clamp, clamp_length, clamp_length_max, clamp_length_min, copysign, cos, distance, distance_squared, div_euclid, dot, dot_into_vec, element_product, element_sum, exp, exp2, floor, fract, fract_gl, is_finite, is_nan, is_normalized, length, length_recip, length_squared, lerp, ln, log2, max, max_element, max_position, midpoint, min, min_element, min_position, move_towards, mul_add, new, normalize, normalize_and_length, normalize_or, normalize_or_zero, powf, project, project_onto, project_onto_normalized, recip, reflect, refract, reject_from, reject_from_normalized, rem_euclid, round, saturate, signum, sin, sin_cos, smoothstep, splat, sqrt, step, to_array, trunc, truncate, try_normalize, with_w, with_x, with_y, with_z
Constants
INFINITY, MAX, MIN, NAN, NEG_INFINITY, NEG_ONE, NEG_W, NEG_X, NEG_Y, NEG_Z, ONE, W, X, Y, Z, ZERO