1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#![doc(html_logo_url = "https://raw.githubusercontent.com/lowenware/dotrix/master/logo.png")]
#![warn(missing_docs)]
pub mod math;
pub use math::slerp;
pub use cgmath::num_traits::clamp;
pub use cgmath::perspective;
pub use cgmath::VectorSpace;
pub use cgmath::InnerSpace;
pub use cgmath::MetricSpace;
pub use cgmath::Rotation3;
pub use cgmath::SquareMatrix;
pub use cgmath::Rad;
pub use cgmath::Deg;
pub type Mat4 = cgmath::Matrix4<f32>;
pub type Point3 = cgmath::Point3<f32>;
pub type Vec4 = cgmath::Vector4<f32>;
pub type Vec3 = cgmath::Vector3<f32>;
pub type Vec3i = cgmath::Vector3<i32>;
pub type Vec4i = cgmath::Vector4<i32>;
pub type Vec2 = cgmath::Vector2<f32>;
pub type Quat = cgmath::Quaternion<f32>;