trimesh2d: fix correctness issues, algo correctly implemented
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
6ee405e7c7
commit
ae699565bb
2 changed files with 97 additions and 53 deletions
|
|
@ -41,7 +41,7 @@ pub fn main() {
|
|||
|
||||
var polygon = std.ArrayListUnmanaged(f32){};
|
||||
// append your polygon vertices:
|
||||
// try polygon.append(1.0);
|
||||
// try polygon.append(allocator, 1.0);
|
||||
|
||||
var out_triangles = std.ArrayListUnmanaged(u32){};
|
||||
var processor = trimesh2d.Processor(f32){};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue