|  28faafdc41 # Objective There is a tiny seam at the top of the annulus caused by normal floating-point error in calculating the coordinates. When generating the last pair of triangles, given `n == i` then `(TAU / n) * i` does not equal `TAU` exactly. Fixes https://github.com/komadori/bevy_mod_outline/issues/42 ## Solution This can be fixed by changing the calculation so that `(TAU / n) * (i % n) == 0.0`, which is equivalent for trigonometric purposes. ## Testing Added the unit test `bevy_render::mesh::primitives::dim2::tests::test_annulus`. | ||
|---|---|---|
| .. | ||
| mesh | ||
| primitives | ||
| allocator.rs | ||
| mod.rs | ||
| morph.rs | ||