truck_base/cgmath64.rs
1pub use crate::cgmath_extend_traits::*;
2pub use cgmath::prelude::*;
3pub use cgmath::{frustum, ortho, perspective, Deg, Rad};
4pub use matext4cgmath::*;
5macro_rules! f64_type {
6 ($typename: ident) => {
7 /// redefinition, scalar = f64
8 pub type $typename = cgmath::$typename<f64>;
9 };
10 ($a: ident, $($b: ident), *) => { f64_type!($a); f64_type!($($b),*); }
11 }
12f64_type!(Vector1, Vector2, Vector3, Vector4, Matrix2, Matrix3, Matrix4, Point1, Point2, Point3);