Table of Contents

Class Mat3d

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll
public class Mat3d
Inheritance
Mat3d
Inherited Members
Extension Methods

Methods

Adjoint(double[], double[])

public static double[] Adjoint(double[] output, double[] a)

Parameters

output double[]
a double[]

Returns

double[]

CloneIt(double[])

public static double[] CloneIt(double[] a)

Parameters

a double[]

Returns

double[]

Copy(double[], double[])

public static double[] Copy(double[] output, double[] a)

Parameters

output double[]
a double[]

Returns

double[]

Create()

public static double[] Create()

Returns

double[]

Determinant(double[])

public static double Determinant(double[] a)

Parameters

a double[]

Returns

double

FromMat2d(double[], double[])

public static double[] FromMat2d(double[] output, double[] a)

Parameters

output double[]
a double[]

Returns

double[]

FromMat4(double[], double[])

public static double[] FromMat4(double[] output, double[] a)

Parameters

output double[]
a double[]

Returns

double[]

FromQuat(double[], double[])

public static double[] FromQuat(double[] output, double[] q)

Parameters

output double[]
q double[]

Returns

double[]

Identity_(double[])

public static double[] Identity_(double[] output)

Parameters

output double[]

Returns

double[]

Invert(double[], double[])

public static double[] Invert(double[] output, double[] a)

Parameters

output double[]
a double[]

Returns

double[]

Mul(double[], double[], double[])

public static double[] Mul(double[] output, double[] a, double[] b)

Parameters

output double[]
a double[]
b double[]

Returns

double[]

Multiply(double[], double[], double[])

public static double[] Multiply(double[] output, double[] a, double[] b)

Parameters

output double[]
a double[]
b double[]

Returns

double[]

NormalFromMat4(double[], double[])

public static double[] NormalFromMat4(double[] output, double[] a)

Parameters

output double[]
a double[]

Returns

double[]

Rotate(double[], double[], double)

public static double[] Rotate(double[] output, double[] a, double rad)

Parameters

output double[]
a double[]
rad double

Returns

double[]

Scale(double[], double[], double[])

public static double[] Scale(double[] output, double[] a, double[] v)

Parameters

output double[]
a double[]
v double[]

Returns

double[]

Translate(double[], double[], double[])

public static double[] Translate(double[] output, double[] a, double[] v)

Parameters

output double[]
a double[]
v double[]

Returns

double[]

Transpose(double[], double[])

public static double[] Transpose(double[] output, double[] a)

Parameters

output double[]
a double[]

Returns

double[]