Releases: zigurous/unity-math-utils
Releases Β· zigurous/unity-math-utils
1.2.0
Added
- Constructors to specify the amount of digits on FloatEqualityComparerandDoubleEqualityComparer
- Overloads for shortandlongnumber abbreviations
- New ComparisonSignenum
- New Boundsextensions- Lerp
- LerpUnclamped
- InverseLerp
- CalculateScale
 
- New Rectextensions- Contains
- Encapsulate
- Lerp
- LerpUnclamped
- InverseLerp
 
- New Transformextensions- AveragePositionOfChildren
- CenterPositionOfChildren
- Reset
- ResetLocal
- SetPosition
- SetLocalPosition
- SetEulerAngles
- SetLocalEulerAngles
- SetLocalScale
 
1.1.1
Fixed
- Fixed certain edge cases where values were wrapping unintentionally even while in range
1.1.0
Added
- New Dicestatic class for rolling dice + additional dice roll functions
- New NumberAbbreviationdata structure + extensionsToAbbreviatedString
- New DoubleEqualityComparerto compare doubles based on # of decimals
- New Vector2Intextensions class
- New Vector3Intextensions class
- New Listextensions class
- Extension methods for shuffling arrays and lists Shuffle()
- Extension method RandomPointInsideforBoundsInt
- Additional IsBetweenvariants for inclusive/exclusive number ranges
- Dozens of new input processors and support for more types
Changed
- Dice roll functions moved from Chanceclass to newDiceclass
- Overhauled documentation comments
- Updated package description and README
1.0.4
Changed
- Renamed package to Math Utils
1.0.3
Added
- Wrap01 processors
Changed
- Decay function now does nothing if the input is zero
1.0.2
Changed
- Updated package metadata
1.0.1
Changed
- Updated package metadata
1.0.0
Added
- Processor Functions
- Chance Functions
- Float Equality Comparer
- Number Extensions
- Comparable Extensions
- Bounds/Collider Extensions