rust/landgen/src/outline.rs
changeset 14207 bb2f301d4fe0
parent 14142 11202097584f
child 15755 2eb3469a28a0
equal deleted inserted replaced
14206:257b296169a8 14207:bb2f301d4fe0
     2 use std::cmp::min;
     2 use std::cmp::min;
     3 
     3 
     4 use integral_geometry::{Line, Ray, Point, Polygon, Rect, Size};
     4 use integral_geometry::{Line, Ray, Point, Polygon, Rect, Size};
     5 use land2d::Land2D;
     5 use land2d::Land2D;
     6 
     6 
     7 use outline_template::OutlineTemplate;
     7 use crate::outline_template::OutlineTemplate;
     8 
     8 
     9 pub struct OutlinePoints {
     9 pub struct OutlinePoints {
    10     pub islands: Vec<Polygon>,
    10     pub islands: Vec<Polygon>,
    11     pub fill_points: Vec<Point>,
    11     pub fill_points: Vec<Point>,
    12     pub size: Size,
    12     pub size: Size,