Skip to content

v0.11.0

Latest
Compare
Choose a tag to compare
@LeHaine LeHaine released this 14 Dec 14:12
· 2 commits to master since this release
eb7a129

Release Info

A smaller release but we made some big upgrades in terms of WGPU and moving on from JDK 21 with a new minimum of JDK 22. This may break a few things since we no longer need --enable-preview but hopefully this should be as simple as removing that JVM argument.

Changes

  • BREAKING: Update minimum JDK from 21 to 22. --enable-preview is no longer needed.
  • Update wgpu from 0.19.4.1 to 22.1.0.5.
  • BREAKING: rect.interescts(left, top, right, bottom) has been reorder to a more natural way:
    rect.intersects(left, bottom, right, top)
  • Fix rect.intersects(rect2) to pass in correct coordinates.
  • Fix indices & vertices being overwritten, when they shouldn't be, when ensuring buffer size inside Mesh and
    IndexedMesh.
  • Fix JsByteSequenceStream from attempting to flip the passed in Buffer in order to read. It now assumes the buffer
    is in a ready-to-ready state.
  • Add new stats to EngineStats:
    • setPipeline calls per frame
    • setBindGroup calls per frame
    • set*Buffer calls per frame
  • Fix IndexedMeshGeometry.clearIndices not resetting the total tracked indices back to 0.

Commit Details

What's Changed

  • update wgpu from 0.19.4.1 to 22.1.0.5 by @LeHaine in #289
  • js: fix JsByteSequenceStream flipping a buffer on init by @LeHaine in #290
  • fix bug with certain indices & vertices being overwritten when ensuring buffer size inside Mesh & IndexedMesh by @LeHaine in #291
  • stats: update EngineStats to include setPipeline, setBindGroup, and set*Buffer calls tracking by @LeHaine in #292
  • update rect.intersects() & reorder params to a more natural way (x,y,x2,y2) by @LeHaine in #293
  • fix IndexedMeshGeometry clearIndices not actually clearing the total number tracked indices back to 0 by @LeHaine in #294

Full Changelog: v0.10.2...v0.11.0