aboutsummaryrefslogtreecommitdiff
path: root/stockton-types/src/lib.rs
blob: 1b965a0acfff48dcd0972755c6b945f0507ba78a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! Common types for all stockton crates.

extern crate nalgebra_glm as na;

pub mod components;
pub mod session;

pub use session::Session;

/// Alias for convenience
pub type Vector2 = na::Vec2;
/// Alias for convenience
pub type Vector3 = na::Vec3;

/// Alias for convenience
pub type Vector2i = na::IVec2;

/// Alias for convenience
pub type Vector3i = na::IVec3;

/// Alias for convenience
pub type Matrix4 = na::Mat4x4;