Skip to content

Releases: playkostudios/gypsum

0.3.5

15 Apr 09:04
1c782bc
Compare
Choose a tag to compare

Main changes

  • Pin Manifold version to 2.1.0, and update Wonderland Engine

0.3.0

17 May 09:35
775d523
Compare
Choose a tag to compare

Main changes

  • Ported to Wonderland Engine 1.0.0

Porting projects

The API is still the same, the only thing that needs to be changed is that this.engine is now passed instead of WL if not using the backwards-compatibility shim provided by default. For example:

const cube = new CubeMesh(WL, 2);

... becomes the following if inside a Component:

const cube = new CubeMesh(this.engine, 2);

0.2.0

17 Mar 15:19
337758b
Compare
Choose a tag to compare

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