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::{Quat, euler_yxz_deg_from_quat, quat_from_euler_yxz_deg, quat_normalize};
10
11pub use scalar::{
12    acos, asin, atan2, ceil, cos, exp, exp2, floor, fract, hypot, ln, log2, mul_add, powf, powi,
13    rem_euclid, round, sin, sin_cos, sqrt, tan, trunc,
14};