de.grogra.ray2.radiosity.triangulation
Class Square

java.lang.Object
  extended by de.grogra.ray2.radiosity.triangulation.Square

public abstract class Square
extends java.lang.Object

This class divides a Square into triangle patches.

Author:
Ralf Kopsch

Constructor Summary
Square()
           
 
Method Summary
static void computePatches(GroupListBuilder builder, TransformableVolume square, Shader shader, Color3f emitted)
          Divides the volume into patches and use the builder to store it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Square

public Square()
Method Detail

computePatches

public static void computePatches(GroupListBuilder builder,
                                  TransformableVolume square,
                                  Shader shader,
                                  Color3f emitted)
Divides the volume into patches and use the builder to store it.

Parameters:
builder - saves the created patches.
square - the volume.
shader - the material shader.
emitted - the emitted color.