From e159c3918abb61f81a15dcf9ebaa3e8f3e2dba6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Bouquet?= Date: Mon, 2 Nov 2015 11:50:38 +0100 Subject: [PATCH] Implemented intersectBoundingBox for LightProbe --- jme3-core/src/main/java/com/jme3/light/LightProbe.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jme3-core/src/main/java/com/jme3/light/LightProbe.java b/jme3-core/src/main/java/com/jme3/light/LightProbe.java index 9e4a6bb00..e1e7a8e36 100644 --- a/jme3-core/src/main/java/com/jme3/light/LightProbe.java +++ b/jme3-core/src/main/java/com/jme3/light/LightProbe.java @@ -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); + }