summaryrefslogtreecommitdiff
path: root/physics/src/algebra/mod.rs
blob: 116d44d59b3d02b62d093cae302edf0d349e1a88 (plain)
1
2
3
4
5
6
7
8
9
10
use nalgebra::{Point as PointBase, SVector};

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;