Skip to content

Winding 1.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 17:05
· 104 commits to main since this release
67e00f3

Types. Winding ships TypeScript types, written by hand from the API reference and checked
against its examples in CI, so an editor knows every call and option -- still with no dependency
and no build step.

Added

  • TypeScript types. src/winding.d.ts and src/bench.d.ts ship with the package, written by
    hand from the API reference: every export, every option, and an overload so scene.pick returns a
    3D hit for a Camera and a 2D one for a Camera2D. They need no @webgpu/types, and merge with
    it where a project has it. CI type-checks the reference's examples against them, and a Node check
    fails if a public method is added without a type.

Fixed

  • Docs. engine.loadSplats said its result was an environment. scene.bounds and
    scene.frame said only meshes count; splat clouds do too.

npm install winding-engine