v0.3.6
Pre-release
Pre-release
- Change
Option<ThreadPool<'a>>toOption<&'a ThreadPool>throughout the codebase; moving the reference out of theThreadPooleliminates the need for a separaterayon::ThreadPoolobject on the stack. - Significant rewrite of meshing! It now uses the same
Option<&ThreadPool>type and is multithreaded using Rayon, meaning it can work in WebAssembly. - Changed 3D rendering and effects functions to use a new
GeometryBuffertype, which combines depth and normal data into a single image. - Add
fidget::guimodule, which definesCanvas2andCanvas3. The canvas types are stateful abstractions around a GUI canvas, with support for cursor interactions. - Change
ImageSize::transform_pointandVoxelSize::transform_pointto take a point withi32coordinates (instead off32). This helps us distinguish between screen (pixel) and world (floating-point) coordinates at the type level. - Add
Tree::remap_affine(andTreeOp::RemapAffine) to perform affine transformations on math expressions. These transformations are composable; two affine transforms will be combined into a single transform if stacked together. - Major updates to the Rhai standard library and default bindings:
- Add
vec2,vec3,vec4types - Shapes are now constructed with object maps
- Added documentation in
fidget::rhai::docsmodule
- Add
- Significant rewrite of meshing! It now uses the same
Option<&ThreadPool>type and is multithreaded using Rayon, meaning it can work in WebAssembly. - Changed 3D rendering and effects functions to use a new
GeometryBuffertype, which combines depth and normal data into a single image. - Add
fidget::guimodule, which definesCanvas2andCanvas3. The canvas types are stateful abstractions around a GUI canvas, with support for cursor interactions. - Change
ImageSize::transform_pointandVoxelSize::transform_pointto take a point withi32coordinates (instead off32). This helps us distinguish between screen (pixel) and world (floating-point) coordinates at the type level. - Add
Tree::remap_affine(andTreeOp::RemapAffine) to perform affine transformations on math expressions. These transformations are composable; two affine transforms will be combined into a single transform if stacked together. - Major updates to the Rhai standard library and default bindings:
- Add
vec2,vec3,vec4types - Shapes are now constructed with object maps
- Added documentation in
fidget::rhai::docsmodule
- Add