Skip to content

v0.0.23

Compare
Choose a tag to compare
@rreusser rreusser released this 19 Nov 19:19
· 43 commits to main since this release

Features

  • Turning an integer index into a position was somewhat badly done. This release completely renumbers all of the indices. Instead of modifying geometry and flipping it in order to get winding order correct, it now shifts vertex indices by one while preserving geometry. At the cost of one extra wasted vertex, this has the effect of flipping winding order when needed in order to make it consistent—but without modifying geometry. The resulting code is easier to follow, shorter, cleaner, and shows better results.

Bugfixes

  • As a result of renumbering, winding order is now consistent.
  • Collapsed triangle vertices are now repeated at the first and last points only, rather than scattered throughout the instances.