//! Math, re-exported from `glam`.
//!
//! Design rule: **always 3D.** Even while Mawida is a 2D framework, positions,
//! transforms, and cameras use `Vec3` / `Mat4` / `Quat`. 2D is the `z = 0`,
//! orthographic special case. Restricting to `Vec2` now would be the single
//! cheapest way to make the 3D pivot expensive later, so we do not do it.

pub use glam::{
    mat3, mat4, quat, vec2, vec3, vec4, Mat3, Mat4, Quat, Vec2, Vec3, Vec3Swizzles, Vec4,
};

/// `1.0` in radians-per-degree, for readable camera/transform setup.
pub const DEG_TO_RAD: f32 = std::f32::consts::PI / 180.0;
pub const RAD_TO_DEG: f32 = 180.0 / std::f32::consts::PI;
