Implemented intersectBoundingBox for LightProbe
This commit is contained in:
parent
c47da8e9a1
commit
e159c3918a
@ -253,6 +253,11 @@ public class LightProbe extends Light implements Savable {
|
||||
public String toString() {
|
||||
return "Light Probe : " + position ;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean intersectsSphere(BoundingSphere sphere, TempVars vars) {
|
||||
return getBounds().intersectsSphere(sphere);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user