fix bug teta detection close of 0.0 and add readme
This commit is contained in:
@@ -52,8 +52,8 @@ impl MyApp {
|
||||
teta: 0.0,
|
||||
polygons: vec![
|
||||
//Polygon::n_gon(0.0, 12),
|
||||
Polygon::triangle(0.1),
|
||||
Polygon::square(1.0),
|
||||
Polygon::triangle(0.0),
|
||||
Polygon::square(PI / 4.0),
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user