From f6c2f402e245c620f8f03dcf3aa6265fca6e8dcf Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:20 +0100 Subject: feat(render): 3D projection --- stockton-types/Cargo.toml | 2 +- stockton-types/src/lib.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'stockton-types') 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 "] 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 -- cgit v1.2.3