Blender Git Loki

Git Commits -> Revision 503484c

Revision 503484c by Campbell Barton (master)
September 28, 2014, 11:43 (GMT)
GTest: polyfill2d

Collection of test cases from libGDX and our own tracker

Tests:

- combine triangle area matches polygon area.
- tris have same winding.
- tris don't have duplicates.
- correct number of internal & boundary edges.
- degenerate polys still give topologically correct output.

also checks all possible start-vert offsets, forwards and backwards.

optional OBJ output, for debugging.

Commit Details:

Full Hash: 503484c9784d1fa19fd4bb8a68747d31008acce6
Parent Commit: fa1e6c5
Lines Changed: +493, -0

1 Added Path:

/tests/gtests/blenlib/BLI_polyfill2d_test.cc (+492, -0) (View)

1 Modified Path:

/tests/gtests/blenlib/CMakeLists.txt (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021