diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:20 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:20 +0100 |
commit | f6c2f402e245c620f8f03dcf3aa6265fca6e8dcf (patch) | |
tree | 96454af34e3a0cb15c17ccefea3d99ceb9a2ce3a /stockton-types | |
parent | 9806e1d2552b944e809d4f545e5d8bdb6827c144 (diff) |
feat(render): 3D projection
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 |