Class MathUtility
Math utilities.
Inherited Members
Namespace: Unity.XR.CoreUtils
Assembly: solution.dll
Syntax
public static class MathUtility
Methods
Name | Description |
---|---|
Approximately(float, float) | A faster replacement for Approximately(float, float). |
Approximately |
A slightly faster way to do |
Clamp(double, double, double) | Constrains a value between a minimum and a maximum. |
First |
Returns the index of the first true bit of a flag. |
Is |
Checks if a vector is aligned with one of the axis vectors. |
Is |
Checks if a value is a positive power of two. |
Is |
Checks whether a value is undefined (Positive |
Shortest |
Finds the smallest angle between two angles. |
Shortest |
Finds the smallest angle between two angles. |