-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.MathHelperD
← Index ← Namespace Index
public abstract sealed class MathHelperD
Contains commonly used precalculated values.
Namespace: VRageMath
Assembly: VRage.Math.dll
Represents the mathematical constant e.
Represents the value of pi times four.
Represents the value of pi.
Represents the value of pi divided by two.
Represents the value of pi divided by four.
Represents the value of pi times two.
static double Clamp(double value, double min, double max)
Restricts a value to be within a specified range. Reference page contains links to related code samples.
static double Distance(double value1, double value2)
Calculates the absolute value of the difference of two values.
static double Max(double value1, double value2)
Returns the greater of two values.
static double Min(double value1, double value2)
Returns the lesser of two values.
static float MonotonicAcos(float cos)
static double ToDegrees(double radians)
Converts radians to degrees.
static double ToRadians(double degrees)
Converts degrees to radians.
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!