Extension Methods

A large majority of the functionality provided by the Math Utils package comes from extension methods. All of the extension methods found throughout the project are focused around numbers, whether it be arithmetic operations, bitwise operations, math algorithms, and other utilities of varying complexity. Extensions are available for the following types:

Array

Bounds

Collider

Double

Float

IComparable

Int

List

Long

Quaternion

Short

UInt

Vector2

Vector2Int

Vector3

Vector3Int

Vector4