Previously, Avian has supported f64 with a feature flag that changes almost everything to double-precision. This changes with my f64 overhaul.
In short: Use f64 only for world-space values that degrade in precision far from the origin. This approach is inspired by Jolt.
github.com/avianphysics...
github.com
Minimal Use of `f64` for Large Worlds by Jondolf · Pull Request #1027 · avianphysics/avian
Objective
Related to #439.
Avian supports both f32 and f64 by using type aliases like Scalar and Vector that choose the appropriate type based on the active feature configuration. When f64 is enabl...