Show / Hide Table of Contents

Class FlatSDK.MathEx

Inheritance
System.Object
FlatSDK.MathEx
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FlatPMSDK
Assembly: FlatPMSDK.dll
Syntax
public static class MathEx

Methods

AngleVectors(Vector3, out Vector3)

Declaration
public static void AngleVectors(Vector3 angles, out Vector3 forward)
Parameters
Type Name Description
Vector3 angles
Vector3 forward

CalcAngle(Vector3, Vector3)

Declaration
public static Vector3 CalcAngle(Vector3 src, Vector3 dst)
Parameters
Type Name Description
Vector3 src
Vector3 dst
Returns
Type Description
Vector3

Clamp(Int32, Int32, Int32)

Declaration
public static int Clamp(int value, int min, int max)
Parameters
Type Name Description
System.Int32 value
System.Int32 min
System.Int32 max
Returns
Type Description
System.Int32

SinCos(Single, out Single, out Single)

Declaration
public static void SinCos(float inv, out float sin1, out float cos1)
Parameters
Type Name Description
System.Single inv
System.Single sin1
System.Single cos1
Back to top Generated by DocFX