java.lang.Object
de.grogra.ray2.radiosity.triangulation.Sphere
This class divides a Sphere into triangle patches.
- Author:
- Ralf Kopsch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
computePatches
(GroupListBuilder builder, TransformableVolume sphere, Shader shader) Divides the volume into patches and use the builder to store it.
-
Constructor Details
-
Sphere
public Sphere()
-
-
Method Details
-
computePatches
public static void computePatches(GroupListBuilder builder, TransformableVolume sphere, Shader shader) Divides the volume into patches and use the builder to store it.- Parameters:
builder
- saves the created patches.sphere
- the volume.shader
- the material shader.
-