pub fn engine() -> EngineExpand description
Build a new engine with Fidget-specific bindings and settings
- Mathematical constants (PI, E, TAU, etc.), provided by the
resolverfunction Tree-specific type, overloads, andaxes()(tree::register)- Custom types (e.g. GLSL-style vectors), provided by
types::register - Shapes and transforms (
shapes::register) - An
on_progresslimit of 50,000 steps (chosen arbitrarily) - Max expression and function expression depths of 64 and 32 (also chosen arbitrarily)
set_fail_on_invalid_map_propertyset totrue, so that missing map items raise an error- A custom resolver (
resolver) which provides fallbacks forx,y,z, and mathematical constants (if not defined)