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.MyMath
Malware edited this page Dec 21, 2018
·
42 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
| Member | Description |
|---|---|
static Vector3One
|
| Member | Description |
|---|---|
static InitializeFastSin()
|
|
static FastSin(float)
|
|
static FastCos(float)
|
|
static FastTanH(float)
|
Fast approximation of Hyperbolic tangent Max deviation is <3% |
static NormalizeAngle(float, float)
|
|
static ArcTanAngle(float, float)
|
ArcTanAngle |
static Abs(ref Vector3)
|
|
static MaxComponents(ref Vector3, ref Vector3)
|
Return vector with each component max |
static AngleTo(Vector3, Vector3)
|
AngleTo |
static AngleBetween(Vector3, Vector3)
|
|
static CosineDistance(ref Vector3, ref Vector3)
|
|
static CosineDistance(ref Vector3D, ref Vector3D)
|
|
static Mod(int, int)
|
|
static Mod(long, int)
|
|
static QuaternionToEuler(Quaternion)
|
QuaternionToEuler |
static ForwardVectorProjection(Vector3, Vector3)
|
This projection results to initial velocity of non-engine objects, which parents move in some velocity We want to add only forward speed of the parent to the forward direction of the object, and if parent is going backward, no speed is added. |
static CreateFromInsideRadius(float)
|
|
static VectorFromColor(byte, byte, byte)
|
Calculates color from vector |
static VectorFromColor(byte, byte, byte, byte)
|
|
static DistanceSquaredFromLineSegment(Vector3, Vector3, Vector3)
|
Return minimum distance between line segment v-w and point p. |
static Clamp(float, float, 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!