reverie_engine_opengl/types.rs
1pub use reverie_util::math::nalgebra as na;
2
3pub type Vector3 = na::Vector3<f32>;
4pub type Matrix4 = na::Matrix4<f32>;
5pub type Point3 = na::Point3<f32>;
6
7/// 定数ジェネリクスの値が定まっていることを表す型
8#[derive(Debug)]
9pub struct Const<const C: u32>;
10
11/// 定数ジェネリクスの値が定まっていないことを表す型
12#[derive(Debug)]
13pub struct Dynamic;