summaryrefslogtreecommitdiff
path: root/physics/src/algebra/mod.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2025-01-31 03:35:28 +0100
committereug-vs <eugene@eug-vs.xyz>2025-01-31 03:35:28 +0100
commit11031f246a8ec47eb0ffca285138220eb717415e (patch)
treeb164f7906441ab2a757de5e997a3a8bbc25c6ff6 /physics/src/algebra/mod.rs
parentaa0385d7fc7639b748965f8c029fa1e46d218c0e (diff)
downloadparticle-physics-11031f246a8ec47eb0ffca285138220eb717415e.tar.gz
tmp: add most recent progressexperiments
Diffstat (limited to 'physics/src/algebra/mod.rs')
-rw-r--r--physics/src/algebra/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/physics/src/algebra/mod.rs b/physics/src/algebra/mod.rs
index 47efba8..116d44d 100644
--- a/physics/src/algebra/mod.rs
+++ b/physics/src/algebra/mod.rs
@@ -1,9 +1,10 @@
use nalgebra::{Point as PointBase, SVector};
-pub const N: usize = 2;
+pub const N: usize = 3;
pub type Scalar = f64;
pub type Vector = SVector<Scalar, N>;
pub type Point = PointBase<Scalar, N>;
pub mod subspace;
+pub mod distance_field;