Unity package host for FixedMathSharp. Both variants contain the same deterministic math library and Unity math, geometry, bounds, and transform adapters.
com.mrdav30.fixedmathsharp includes the MemoryPack serializer/runtime
integration.
https://github.com/mrdav30/FixedMathSharp-Unity.git?path=/com.mrdav30.fixedmathsharp
com.mrdav30.fixedmathsharp.lean omits the MemoryPack serializer/runtime and is
the safer default for Burst AOT. It includes only
Chronicler.MemoryPackShim.dll, an attribute-shape compatibility assembly
required by the Lean core DLL; it does not serialize data.
https://github.com/mrdav30/FixedMathSharp-Unity.git?path=/com.mrdav30.fixedmathsharp.lean
- Deterministic
Fixed64math, vectors, quaternions, matrices, bounds, frustums, curves, and geometry - Unity vector, ray, plane, rectangle, bounds, matrix,
AnimationCurve, andFixedTransforminterop - Fixed-point inspector drawers and a sample scene
Plane[] planeBuffer = new Plane[FixedBoundFrustum.PlaneCount];
FixedBoundFrustum frustum = camera.ToFixedBoundFrustum(planeBuffer);
if (!animationCurve.TryToFixedCurve(out FixedCurve curve))
curve = animationCurve.BakeToFixedCurve(65);BakeToFixedCurve is an explicit floating-point approximation. Bake once at an
authoring/loading boundary and distribute or persist the fixed keys; lockstep
peers should not bake independently.
These packages are installed by Git URL; they are not currently published to a Unity registry.