1#![doc(html_logo_url = "https://raw.githubusercontent.com/lowenware/dotrix/master/logo.png")]
6#![warn(missing_docs)]
7
8pub mod math;
9pub use math::slerp;
10pub use cgmath::num_traits::clamp;
11pub use cgmath::num_traits::clamp_min;
12pub use cgmath::perspective;
13pub use cgmath::VectorSpace;
14pub use cgmath::InnerSpace;
15pub use cgmath::MetricSpace;
16pub use cgmath::Rotation3;
17pub use cgmath::SquareMatrix;
18pub use cgmath::Rad;
19pub use cgmath::Deg;
20
21pub type Mat4 = cgmath::Matrix4<f32>;
23pub type Point2 = cgmath::Point2<f32>;
25pub type Point3 = cgmath::Point3<f32>;
27pub type Vec4 = cgmath::Vector4<f32>;
29pub type Vec3 = cgmath::Vector3<f32>;
31pub type Vec3i = cgmath::Vector3<i32>;
33pub type Vec4i = cgmath::Vector4<i32>;
35pub type Vec2 = cgmath::Vector2<f32>;
37pub type Vec2i = cgmath::Vector2<i32>;
39pub type Vec2u = cgmath::Vector2<u32>;
41pub type Quat = cgmath::Quaternion<f32>;
43