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

extern crate stockton_bsp;
extern crate nalgebra as na;

pub mod entity_store;
pub use entity_store::{EntityStore, Entity};

pub mod world;
pub use world::World;

/// Alias for convenience
pub type Vector2 = na::base::Vector2<f32>;
/// Alias for convenience
pub type Vector3 = na::base::Vector3<f32>;

/// Alias for convenience
pub type Vector2i = na::base::Vector2<i32>;

/// Alias for convenience
pub type Vector3i = na::base::Vector3<i32>;