Files
MonoGame.Extended/source
Christopher Whitley b88e0d4ab1 Refactor FastRandom class with thread-safe shared instance (#986)
- Restructure FastRandom to use interface-based implementation approach
- Add thread-safe Shared static instance for concurrent access
- Enhance documentation with improved explanations about algorithm characteristics
- Extract core logic into LinearCongruentialGeneratorImpl for better maintainability
- Replace Math function calls with MathF equivalents for better performance
- Add parameter validation using new .NET ArgumentOutOfRangeException.ThrowIfNegativeOrZero
- Keep API compatibility with original implementation
2025-05-16 14:54:09 -04:00
..