de.grogra.ray2.radiosity.triangulation
public class PointLight extends java.lang.Object
| Constructor and Description |
|---|
PointLight() |
| Modifier and Type | Method and Description |
|---|---|
static void |
computePatches(GroupListBuilder builder,
Point3d middle,
Color3f color)
Divides the volume into patches and use the builder to store it.
|
public static void computePatches(GroupListBuilder builder, Point3d middle, Color3f color)
builder - saves the created patches.middle - the center of the point light.color - the color of the point light.