Skip to content

0.2.0

Compare
Choose a tag to compare
@rafern rafern released this 17 Mar 15:19
· 13 commits to main since this release
337758b

Main changes

  • Ported to Manifold 2.1.0. Normals/tangents are now correctly rotated when transformed via a CSG operation
  • Added mesh hinting; only needed mesh attributes are added when generating procedural meshes. If no hinting is passed, all supported mesh attributes are added
  • API now requires the WL global variable to be passed. This was added for future compatibility
  • Submeshes (instead of WL.Mesh or MeshGroup instances) can now be passed directly in CSG operations
  • Added vertex color support. Default generators don't add them yet, but they can be manually added if you are using the Triangle or MeshBuilder classes
  • Index buffers are now always optimized

Bug fixes

  • Fixed inverted ExtrusionMesh tangents
  • Fixed crash when CSGPool is initialized multiple times at once

Internal changes

  • Manifold now gets all mesh attributes and the original meshes by using merge maps (consequence of porting to new Manifold API)
  • Use official Wonderland Engine Typescript definitions
  • Removed *_guarded meshes from DynamicArray. Separate GuardedDynamicArray class is now used instead, so that it isn't exported on release
  • Added Continuous Integration