aboutsummaryrefslogtreecommitdiff
path: root/src/math/mod.rs
diff options
context:
space:
mode:
authorArne Dußin2020-11-21 00:36:32 +0100
committerArne Dußin2020-11-21 00:36:32 +0100
commitd7d90e8b3615db38d1af238ac9c8193c283ca156 (patch)
tree6f500e94448748d21557b1f6cb3127a7ee9d3db7 /src/math/mod.rs
parentd6a0708b995b6c0e12ed8890c678c180f859de51 (diff)
downloadgraf_karto-d7d90e8b3615db38d1af238ac9c8193c283ca156.tar.gz
graf_karto-d7d90e8b3615db38d1af238ac9c8193c283ca156.zip
Add triangle struct and triangulation template
Diffstat (limited to 'src/math/mod.rs')
-rw-r--r--src/math/mod.rs4
1 files changed, 4 insertions, 0 deletions
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;