1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
mod dim2;
mod dim3;
/// A 2D point.
#[derive(Clone, Copy, Debug, PartialEq, Default)]
pub struct Point<T> {
pub x: T,
pub y: T,
}
#[derive(Clone, Copy, Debug, PartialEq, Default)]
pub struct Point3D<T> {
pub x: T,
pub y: T,
pub z: T,
}