java.lang.Object
de.grogra.ray2.radiosity.triangulation.PointLight
This class divides a PointLight into triangle patches.
- Author:
- Ralf Kopsch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
computePatches
(GroupListBuilder builder, Point3d middle, Color3f color) Divides the volume into patches and use the builder to store it.
-
Constructor Details
-
PointLight
public PointLight()
-
-
Method Details
-
computePatches
Divides the volume into patches and use the builder to store it.- Parameters:
builder
- saves the created patches.middle
- the center of the point light.color
- the color of the point light.
-