aboutsummaryrefslogtreecommitdiff
path: root/stockton-types/src/lib.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:19 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:19 +0100
commitcac20b88bc763471983935cc47d9b986a408cd04 (patch)
tree1354e8788708ac6eade864840b7202039ad6b367 /stockton-types/src/lib.rs
parent4ade456569da7ffa407e48abd9a8df2b759b739a (diff)
chore(types): move to nalgebra-glm
Diffstat (limited to 'stockton-types/src/lib.rs')
-rw-r--r--stockton-types/src/lib.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/stockton-types/src/lib.rs b/stockton-types/src/lib.rs
index 0adf8a5..e6a816e 100644
--- a/stockton-types/src/lib.rs
+++ b/stockton-types/src/lib.rs
@@ -15,7 +15,7 @@
//! Common types for all stockton crates.
extern crate stockton_bsp;
-extern crate nalgebra as na;
+extern crate nalgebra_glm as na;
#[macro_use]
extern crate downcast_rs;
@@ -28,12 +28,12 @@ pub use world::World;
pub mod ent_map;
/// Alias for convenience
-pub type Vector2 = na::base::Vector2<f32>;
+pub type Vector2 = na::Vec2;
/// Alias for convenience
-pub type Vector3 = na::base::Vector3<f32>;
+pub type Vector3 = na::Vec3;
/// Alias for convenience
-pub type Vector2i = na::base::Vector2<i32>;
+pub type Vector2i = na::IVec2;
/// Alias for convenience
-pub type Vector3i = na::base::Vector3<i32>; \ No newline at end of file
+pub type Vector3i = na::IVec3; \ No newline at end of file