From d7d90e8b3615db38d1af238ac9c8193c283ca156 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Sat, 21 Nov 2020 00:36:32 +0100 Subject: Add triangle struct and triangulation template --- src/math/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/math/mod.rs') diff --git a/src/math/mod.rs b/src/math/mod.rs index 0b591d7..07bc36b 100644 --- a/src/math/mod.rs +++ b/src/math/mod.rs @@ -2,12 +2,16 @@ pub mod line_segment; pub mod polygon; pub mod polygon_graph; pub mod rect; +pub mod triangle; +pub mod triangulate; pub mod vec2; pub use self::line_segment::*; pub use self::polygon::*; pub use self::polygon_graph::*; pub use self::rect::*; +pub use self::triangle::*; +pub use self::triangulate::*; pub use self::vec2::*; use std::cmp::Ordering; -- cgit v1.2.3-70-g09d2