Implemented intersectBoundingBox for LightProbe

This commit is contained in:
Rémy Bouquet 2015-11-02 11:50:38 +01:00
parent c47da8e9a1
commit e159c3918a

View File

@ -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);
}