pub mod nurbs_surface;
pub mod trimmed_surface;
pub use nurbs_surface::*;
pub use trimmed_surface::*;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum UVDirection {
U,
V,
}
impl UVDirection {
pub fn opposite(&self) -> Self {
match self {
Self::U => Self::V,
Self::V => Self::U,
}
}
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum FlipDirection {
U,
V,
UV,
}