4 |
4 |
5 use serde_repr::*; |
5 use serde_repr::*; |
6 use serde::Serialize; |
6 use serde::Serialize; |
7 use alg_tools::loc::Loc; |
7 use alg_tools::loc::Loc; |
8 use alg_tools::norms::{Norm, L2}; |
8 use alg_tools::norms::{Norm, L2}; |
9 use crate::manifold::{ManifoldPoint, EmbeddedManifoldPoint}; |
9 use crate::manifold::{EmbeddedManifoldPoint, FacedManifoldPoint, ManifoldPoint}; |
10 |
10 |
11 /// All the difference faces of a [`OnCube`]. |
11 /// All the difference faces of a [`OnCube`]. |
12 #[derive(Copy, Clone, Debug, Eq, PartialEq, Serialize_repr, Deserialize_repr)] |
12 #[derive(Copy, Clone, Debug, Eq, PartialEq, Serialize_repr, Deserialize_repr)] |
13 #[repr(u8)] |
13 #[repr(u8)] |
14 pub enum Face {F1 = 1, F2 = 2, F3 = 3, F4 = 4, F5 = 5, F6 = 6} |
14 pub enum Face {F1 = 1, F2 = 2, F3 = 3, F4 = 4, F5 = 5, F6 = 6} |