Releases: playkostudios/gypsum
Releases · playkostudios/gypsum
0.3.5
0.3.0
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
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