Skip to main content

concinnity_core/math/
mod.rs

1//! The scalar, vector and rotation primitives the rest of the vocabulary is
2//! built from: the f32 transcendentals `core` leaves to a math library, the
3//! 3-component vector ops every layout and transform reaches for, and the
4//! quaternion / Euler convention rotations are authored and stepped in.
5mod rotation;
6mod scalar;
7pub mod vec3;
8
9pub use rotation::{
10    Quat, euler_yxz_deg_from_quat, quat_from_axis_angle, quat_from_euler_yxz_deg, quat_normalize,
11};
12
13pub use scalar::{
14    acos, asin, atan2, ceil, cos, exp, exp2, floor, fract, hypot, ln, log2, mul_add, powf, powi,
15    rem_euclid, round, sin, sin_cos, sqrt, tan, trunc,
16};