For LightFilter to be implementable frustumCheckNeeded and intersectsFrustum need to be accesible.
This commit is contained in:
parent
98a9f5c628
commit
75791883ec
@ -184,6 +184,22 @@ public abstract class Light implements Savable, Cloneable {
|
|||||||
this.enabled = enabled;
|
this.enabled = enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isFrustumCheckNeeded() {
|
||||||
|
return frustumCheckNeeded;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFrustumCheckNeeded(boolean frustumCheckNeeded) {
|
||||||
|
this.frustumCheckNeeded = frustumCheckNeeded;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isIntersectsFrustum() {
|
||||||
|
return intersectsFrustum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIntersectsFrustum(boolean intersectsFrustum) {
|
||||||
|
this.intersectsFrustum = intersectsFrustum;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines if the light intersects with the given bounding box.
|
* Determines if the light intersects with the given bounding box.
|
||||||
* <p>
|
* <p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user