Class MathUtils

MathUtils class

A set of useful mathematical utilities.

public class MathUtils

Methods

NameDescription
static Clamp(double, double, double)Clamp value to range [min, max]
static ToDegree(double)Convert a number from radian to degree
static ToDegree(float)Convert a number from radian to degree
static ToDegree(Vector3)Convert a Vector3 from radian to degree.
static ToDegree(double, double, double)Convert a number from radian to degree
static ToRadian(double)Convert a number from degree to radian
static ToRadian(float)Convert a number from degree to radian
static ToRadian(Vector3)Convert a Vector3 from degree to radian
static ToRadian(double, double, double)Convert a vector from degree to radian

See Also