diff options
Diffstat (limited to 'stockton-types')
-rw-r--r-- | stockton-types/Cargo.toml | 2 | ||||
-rw-r--r-- | stockton-types/src/lib.rs | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/stockton-types/Cargo.toml b/stockton-types/Cargo.toml index 73cfd8a..9c685e8 100644 --- a/stockton-types/Cargo.toml +++ b/stockton-types/Cargo.toml @@ -5,6 +5,6 @@ authors = ["Oscar <oscar.shrimpton.personal@gmail.com>"] edition = "2018" [dependencies] -nalgebra-glm = "0.4.0" +nalgebra-glm = "^0.6" stockton-bsp = "2.0.0" downcast-rs = "1.0.4"
\ No newline at end of file diff --git a/stockton-types/src/lib.rs b/stockton-types/src/lib.rs index e6a816e..7cc5ac0 100644 --- a/stockton-types/src/lib.rs +++ b/stockton-types/src/lib.rs @@ -36,4 +36,7 @@ pub type Vector3 = na::Vec3; pub type Vector2i = na::IVec2; /// Alias for convenience -pub type Vector3i = na::IVec3;
\ No newline at end of file +pub type Vector3i = na::IVec3; + +/// Alias for convenience +pub type Matrix4 = na::Mat4x4;
\ No newline at end of file |