de.grogra.ray2.tracing.modular
Class CausticMap

java.lang.Object
  extended by de.grogra.ray2.tracing.modular.CausticMap

public class CausticMap
extends java.lang.Object


Nested Class Summary
 class CausticMap.CausticElement
           
 
Field Summary
 CausticMap.CausticElement[][] causticMap
           
 
Constructor Summary
CausticMap(int size)
           
CausticMap(int width, int height)
           
 
Method Summary
 CausticMap.CausticElement getCausticElement(int pos)
           
 void saveColor(Color4f causCol, int pos)
           
 void saveColor(Color4f causCol, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

causticMap

public CausticMap.CausticElement[][] causticMap
Constructor Detail

CausticMap

public CausticMap(int size)

CausticMap

public CausticMap(int width,
                  int height)
Method Detail

getCausticElement

public CausticMap.CausticElement getCausticElement(int pos)

saveColor

public void saveColor(Color4f causCol,
                      int pos)

saveColor

public void saveColor(Color4f causCol,
                      int x,
                      int y)