Table of Contents

Class StackMatrix4

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll
public class StackMatrix4
Inheritance
StackMatrix4
Inherited Members
Extension Methods

Constructors

StackMatrix4(int)

public StackMatrix4(int max = 1024)

Parameters

max int

Properties

Count

public int Count { get; }

Property Value

int

Top

public double[] Top { get; }

Property Value

double[]

Methods

Clear()

public void Clear()

Pop()

public double[] Pop()

Returns

double[]

Push()

public void Push()

Push(double[])

public void Push(double[] p)

Parameters

p double[]

PushIdentity()

public void PushIdentity()

Rotate(double, double, double, double)

public void Rotate(double rad, double x, double y, double z)

Parameters

rad double
x double
y double
z double

Scale(double, double, double)

public void Scale(double x, double y, double z)

Parameters

x double
y double
z double

Translate(double, double, double)

public void Translate(double x, double y, double z)

Parameters

x double
y double
z double

Translate(double[])

public void Translate(double[] rotationOrigin)

Parameters

rotationOrigin double[]