Assembly: VRage.Math.dll

public abstract sealed class MyMath

Fields

Member Description
static Vector3One

Methods

Member Description
static Abs(ref Vector3)
static AngleBetween(Vector3, Vector3)
static AngleTo(Vector3, Vector3) AngleTo
static ArcTanAngle(float, float) ArcTanAngle
static Clamp(float, float, float)
static CosineDistance(ref Vector3, ref Vector3)
static CosineDistance(ref Vector3D, ref Vector3D)
static CreateFromInsideRadius(float)
static DistanceSquaredFromLineSegment(Vector3, Vector3, Vector3) Return minimum distance between line segment v-w and point p.
static FastCos(float)
static FastSin(float)
static FastTanH(float) Fast approximation of Hyperbolic tangent Max deviation is <3%
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 InitializeFastSin()
static MaxComponents(ref Vector3, ref Vector3) Return vector with each component max
static Mod(int, int)
static Mod(long, int)
static NormalizeAngle(float, float)
static QuaternionToEuler(Quaternion) QuaternionToEuler
static VectorFromColor(byte, byte, byte) Calculates color from vector
static VectorFromColor(byte, byte, byte, byte)