Skip to content

0.4.0

Choose a tag to compare

@natanfudge natanfudge released this 21 May 12:00
· 23 commits to main since this release
  • Replaced Vec3f#SIZE_BYTES with ACTUAL_SIZE_BYTES, and added ALIGN_BYTES to avoid confusion (vec3f takes 12 bytes but alignment in wgsl is 16 bytes).
  • Added Vec3f#toAlignedArray(), Vec3f#toCompactArray()
  • Added toArray() to Vec2f, Vec4f, Quatf
  • Added Mat3f.Companion.normalMatrix()
  • Added functions that accept x,y,z primitives instead of a Vec3f for scaling, rotation and translation
  • Optimized Mat4f rotation