Releases: mrdav30/FixedMathSharp
Release list
📢 FixedMathSharp v1.1.0 🚀
🔥 New Features & Enhancements
- Fixed64.ToFloat(long f1) and ToDecimal(long f1) Conversion Methods
- Added utility functions to convert the underlying Fixed64 long value to a float or decimal
🛠 Improvements in GitHub CI/CD Workflow
- The .NET GitHub Actions workflow has been refactored to improve reliability and support for multi-platform testing (Windows & Linux).
- Key updates include:
- Ensuring proper installation of required Mono dependencies for running .NET Framework tests on Linux.
- Improved error handling and log clarity for build failures.
📥 Update Now:
dotnet add package FixedMathSharp --version 1.1.0Enjoy smooth and precise fixed-point arithmetic! 🎉
v1.0.4: Enhancements and Documentation
FixedMathSharp v1.0.4 🎉
🛠 Enhancements
- Vector3d Operators:
- Added comparison operators (>, <, >=, <=) for Vector3d to facilitate component-wise comparisons.
- Vector3d Helper Methods:
- Sign(Vector3d value): Returns a vector indicating the sign of each component.
- Fixed64 Helper Methods:
- IsInteger Method: Introduced IsInteger in Fixed64 and Fixed64.Extensions to check if a Fixed64 value represents an integer.
🧹 Documentation
- Summary Tags: Added XML documentation for new methods and operators to enhance code readability and IntelliSense support.
v1.0.3: support .NET 8
task: cleanup csproj mult-framework targetting
v1.0.2: refactor: unity integration (#17)
Refactored Unity Integration to reduce management by merging FixedMathSharp.Editor project into core and handling builds via configuration.
v1.0.1
What's Changed
- support: post release cleanup by @mrdav30 in #8
- feat: add thread-safe deterministic random generator by @mrdav30 in #9
- features: add thread-safe deterministic random generator (#9) by @mrdav30 in #10
- support: fix unity package build script by @mrdav30 in #11
- support: unity package build script by @mrdav30 in #12
- support: bump to target framework net48
Full Changelog: v1.0.0...v1.0.1
Initial Release
FixedMathSharp v1.0.0 - Initial Release 🎉
This is the first official release of FixedMathSharp, a high-precision, deterministic fixed-point math library for .NET, designed to eliminate floating-point inaccuracies and ensure consistent results across platforms.
What’s Included:
- Fixed64 Struct: High-precision fixed-point arithmetic.
- Vector2d and Vector3d: Fixed-point vector operations in 2D and 3D.
- FixedQuaternion: Quaternion-based rotations for smooth transformations.
- Matrix Operations: Transformations using
Fixed4x4andFixed3x3. - Bounding Shapes:
BoundingBox,BoundingSphere, andBoundingAreawith intersection and containment logic. - Math Utilities: Trigonometry and common math functions through
FixedMathandFixedTrigonometry. - Unity Integration: Extensions to interoperate with Unity’s native types via
FixedMathSharp.Editor.
Downloads:
-
[FixedMathSharp-v1.0.0-net472-release.7z]
Contains the core DLLs for FixedMathSharp, along with XML documentation for IntelliSense support. -
[FixedMathSharp.Editor-v1.0.0-net472-release.7z]
Contains the editor extensions DLLs for seamless integration with Unity, including property drawers and type conversions.
Installation:
Install via NuGet:
dotnet add package FixedMathSharpYou can also reference the DLLs directly by downloading the appropriate release from above.
Features:
- Deterministic and Consistent: Ideal for physics engines, simulations, and multiplayer games.
- Cross-Platform Compatibility: Works seamlessly with .NET Framework (4.7.1+) and Unity.
- Performance-Optimized: Inline methods and fixed-point math ensure high precision with minimal overhead.
Getting Started:
Explore the example code and usage instructions in the README to get started!