Releases: zigurous/unity-math-utils
Releases Β· zigurous/unity-math-utils
1.2.0
Added
- Constructors to specify the amount of digits on
FloatEqualityComparer
andDoubleEqualityComparer
- Overloads for
short
andlong
number abbreviations - New
ComparisonSign
enum - New
Bounds
extensionsLerp
LerpUnclamped
InverseLerp
CalculateScale
- New
Rect
extensionsContains
Encapsulate
Lerp
LerpUnclamped
InverseLerp
- New
Transform
extensionsAveragePositionOfChildren
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
Dice
static class for rolling dice + additional dice roll functions - New
NumberAbbreviation
data structure + extensionsToAbbreviatedString
- New
DoubleEqualityComparer
to compare doubles based on # of decimals - New
Vector2Int
extensions class - New
Vector3Int
extensions class - New
List
extensions class - Extension methods for shuffling arrays and lists
Shuffle()
- Extension method
RandomPointInside
forBoundsInt
- Additional
IsBetween
variants for inclusive/exclusive number ranges - Dozens of new input processors and support for more types
Changed
- Dice roll functions moved from
Chance
class to newDice
class - 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