This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.MathHelperD
Malware edited this page Dec 21, 2018
·
41 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Contains commonly used precalculated values.
| Member | Description |
|---|---|
static E
|
Represents the mathematical constant e. |
static Pi
|
Represents the value of pi. |
static TwoPi
|
Represents the value of pi times two. |
static FourPi
|
Represents the value of pi times four. |
static PiOver2
|
Represents the value of pi divided by two. |
static PiOver4
|
Represents the value of pi divided by four. |
| Member | Description |
|---|---|
static ToRadians(double)
|
Converts degrees to radians. |
static ToDegrees(double)
|
Converts radians to degrees. |
static Distance(double, double)
|
Calculates the absolute value of the difference of two values. |
static Min(double, double)
|
Returns the lesser of two values. |
static Max(double, double)
|
Returns the greater of two values. |
static Clamp(double, double, double)
|
Restricts a value to be within a specified range. Reference page contains links to related code samples. |
static MonotonicAcos(float)
|
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!