Skip to content

Releases: zigurous/unity-math-utils

1.2.0

20 Jun 06:53
661a6f3
Compare
Choose a tag to compare

Added

  • Constructors to specify the amount of digits on FloatEqualityComparer and DoubleEqualityComparer
  • Overloads for short and long number abbreviations
  • New ComparisonSign enum
  • New Bounds extensions
    • Lerp
    • LerpUnclamped
    • InverseLerp
    • CalculateScale
  • New Rect extensions
    • Contains
    • Encapsulate
    • Lerp
    • LerpUnclamped
    • InverseLerp
  • New Transform extensions
    • AveragePositionOfChildren
    • CenterPositionOfChildren
    • Reset
    • ResetLocal
    • SetPosition
    • SetLocalPosition
    • SetEulerAngles
    • SetLocalEulerAngles
    • SetLocalScale

1.1.1

19 May 05:25
Compare
Choose a tag to compare

Fixed

  • Fixed certain edge cases where values were wrapping unintentionally even while in range

1.1.0

13 Jul 04:41
Compare
Choose a tag to compare

Added

  • New Dice static class for rolling dice + additional dice roll functions
  • New NumberAbbreviation data structure + extensions ToAbbreviatedString
  • 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 for BoundsInt
  • 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 new Dice class
  • Overhauled documentation comments
  • Updated package description and README

1.0.4

01 Jul 04:36
Compare
Choose a tag to compare

Changed

  • Renamed package to Math Utils

1.0.3

13 Apr 18:23
Compare
Choose a tag to compare

Added

  • Wrap01 processors

Changed

  • Decay function now does nothing if the input is zero

1.0.2

21 Mar 08:37
Compare
Choose a tag to compare

Changed

  • Updated package metadata

1.0.1

07 Mar 06:20
Compare
Choose a tag to compare

Changed

  • Updated package metadata

1.0.0

28 Feb 06:39
Compare
Choose a tag to compare

Added

  • Processor Functions
  • Chance Functions
  • Float Equality Comparer
  • Number Extensions
  • Comparable Extensions
  • Bounds/Collider Extensions