light: minor non-functional changes
This commit is contained in:
parent
31383778d9
commit
6238088688
@ -44,6 +44,7 @@ public final class DefaultLightFilter implements LightFilter {
|
||||
private Camera camera;
|
||||
private final HashSet<Light> processedLights = new HashSet<Light>();
|
||||
|
||||
@Override
|
||||
public void setCamera(Camera camera) {
|
||||
this.camera = camera;
|
||||
for (Light light : processedLights) {
|
||||
@ -51,6 +52,7 @@ public final class DefaultLightFilter implements LightFilter {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void filterLights(Geometry geometry, LightList filteredLightList) {
|
||||
TempVars vars = TempVars.get();
|
||||
try {
|
||||
|
@ -197,7 +197,7 @@ public abstract class Light implements Savable, Cloneable {
|
||||
public abstract boolean intersectsBox(BoundingBox box, TempVars vars);
|
||||
|
||||
/**
|
||||
* Determines if the lgiht intersects with the given camera frustum.
|
||||
* Determines if the light intersects with the given camera frustum.
|
||||
*
|
||||
* For non-local lights, such as {@link DirectionalLight directional lights},
|
||||
* {@link AmbientLight ambient lights}, or {@link PointLight point lights}
|
||||
|
Loading…
x
Reference in New Issue
Block a user