AtlatestRepositorysigil-geometry
sigil-geometry / treeCHANGELOG.md
1
# Changelog3
All notable changes to **sigil-geometry** are documented in this file.5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).8
## [0.1.0] - 2026-09-2510
### Added12
- **vec2, vec3, vec4** as float32 bytevectors: arithmetic, dot and cross13
products, length, normalize, lerp, min/max and tolerant comparison.14
- **mat3 and mat4**, column-major (the OpenGL convention): multiply,15
transpose, determinant, inverse (#f for a singular matrix),16
translation, scale, axis rotations, rotation about any axis, model17
matrices from translation, rotation and scale, point, direction and18
vec4 transforms, the normal matrix, and a std140-padded mat3 for19
uniform blocks.20
- **Quaternions**: axis-angle, conversion to and from rotation matrices,21
multiply, conjugate, inverse, slerp and nlerp, and vector rotation.22
- **Camera matrices** matching `gluPerspective`, `glOrtho` and23
`gluLookAt`.24
- **Ray casts** against planes, boxes and triangles (with barycentric25
weights for picking), plus plane and box helpers.26
- Every operation that produces a value has an allocation-free `!` form27
whose destination may alias its inputs. Measured at zero allocations28
per call on wasm and on bytecode, over 123 checks covering all 8029
`!` forms and their other branches.30
- `scripts/check-targets`: the test suite and the allocation check on31
bytecode, native ELF and wasm.32
- Tolerant comparisons (`vec3-approx=?`, `mat4-approx=?`,33
`quat-same-rotation?` and the rest) that never accept NaN, written34
around sigil 0.22.7's `<=`, `>=` and `=`, which answer #t for NaN.