Some simple tests for some of the geometry functions from task T41253.
Details
Details
- Reviewers
Sergey Sharybin (sergey) - Maniphest Tasks
- T41253: BLI_math_geom_test.cc TODO's (polygon tests)
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
Some new tests for functions generating barycentric coordinates.
Some of them seems to be quite inaccurate (see test InteprWeightsPoly3DQuadruple), but maybe it's fine
(don't know how precise they should be).
Comment Actions
I changed some ugly parts.
Should I leave big tests (like IsectPointTri2DManyTriangles) or give few smaller instead of them?