public class MatrixStack
extends java.lang.Object
| Constructor and Description |
|---|
MatrixStack() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Start from a stack with a unit matrix
|
int |
depth() |
boolean |
isEmpty() |
Mat4x4 |
multiply(Mat4x4 matrix)
Multiply the top matrix by
matrix |
Mat4x4 |
multiply3x4(Mat4x4 matrix)
Multiply the top matrix by
matrix |
Mat4x4 |
peek() |
Mat4x4 |
pop()
Pop
|
Mat4x4 |
push()
Push a copy of the current matrix on top of the stack
|
void |
push(Mat4x4 matrix)
Push the specified matrix on top of the stack
|
void |
set(Mat4x4 matrix)
Set the top matrix value by
matrix |
public final void clear()
public final void push(Mat4x4 matrix)
public final Mat4x4 push()
public final void set(Mat4x4 matrix)
matrixpublic final Mat4x4 peek()
public final Mat4x4 pop()
public final int depth()
public final boolean isEmpty()
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com