java.lang.Object
de.grogra.ray2.radiosity.triangulation.Square
This class divides a Square into triangle patches.
- Author:
- Ralf Kopsch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
computePatches
(GroupListBuilder builder, TransformableVolume square, Shader shader, Color3f emitted) Divides the volume into patches and use the builder to store it.
-
Constructor Details
-
Square
public Square()
-
-
Method Details
-
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.
-