MathUtils class abstract final

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

clampDouble(double min, double max, double input) double
clampInt(int min, int max, int input) int
differenceDegrees(double a, double b) double
hypot(double a, double b) double
lerp(double start, double stop, double amount) double
matrixMultiply(List<double> row, List<List<double>> matrix) List<double>
rotationDirection(double from, double to) double
sanitizeDegreesDouble(double degrees) double
sanitizeDegreesInt(int degrees) int
signum<T extends num>(T value) → T
toDegrees(double radians) double
toRadians(double degrees) double