diff --git a/core/src/geom.rs b/core/src/geom.rs index d0b5208c..0fca2e26 100644 --- a/core/src/geom.rs +++ b/core/src/geom.rs @@ -1,7 +1,9 @@ //! Basic geometric primitives. +use crate::math::point::Point3; use crate::math::vec::{Vec2, Vec3}; +use crate::render::Model; pub use mesh::Mesh; pub mod mesh; @@ -13,6 +15,8 @@ pub struct Vertex
{
pub attrib: A,
}
+pub type Vertex3 = Vertex(self) -> Vector