marchingcubes
Class MCMatrixStack

java.lang.Object
  |
  +--marchingcubes.MCMatrixStack

public class MCMatrixStack
extends java.lang.Object


Constructor Summary
MCMatrixStack()
          default contructor of a MCMatrixStack object
 
Method Summary
 void load(marchingcubes.MCMatrix4 m)
          loads a matrix at the top of the stack
 void mult(marchingcubes.MCMatrix4 m)
          multiply the top of the stack by the specified matrix
 marchingcubes.MCMatrix4 peek()
          returns the top of the stack without removing it
 void pop()
          removes the top of the stack
 void push()
          duplicates the top of the stack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCMatrixStack

public MCMatrixStack()
default contructor of a MCMatrixStack object

Method Detail

push

public void push()
duplicates the top of the stack


pop

public void pop()
removes the top of the stack


peek

public marchingcubes.MCMatrix4 peek()
returns the top of the stack without removing it

Returns:
the top of the stack

load

public void load(marchingcubes.MCMatrix4 m)
loads a matrix at the top of the stack

Parameters:
m - the matrix to load

mult

public void mult(marchingcubes.MCMatrix4 m)
multiply the top of the stack by the specified matrix

Parameters:
m - matrix used to multiply the top of the stack