diff --git a/core/src/geom.rs b/core/src/geom.rs index d0b5208c..4c0a759d 100644 --- a/core/src/geom.rs +++ b/core/src/geom.rs @@ -1,6 +1,10 @@ //! Basic geometric primitives. -use crate::math::vec::{Vec2, Vec3}; +use crate::{ + math::point::{Point2, Point3}, + math::vec::{Vec2, Vec3}, + render::Model, +}; pub use mesh::Mesh; @@ -13,6 +17,12 @@ pub struct Vertex
{
pub attrib: A,
}
+/// Two-dimensional vertex type.
+pub type Vertex2 = Vertex