@Override public String getInfo(Object obj) { String szText = super.getInfo(obj); szText = insertSectionBreak(szText); szText += "PointLight\r\n"; PointLight pointLight = (PointLight) obj; Tuple3f attenuation = pointLight.getAttenuation(); szText += "Attenuation: " + attenuation + "\r\n"; Point3f position = pointLight.getLocation(); szText += "Position: " + position + "\r\n"; return szText; }
protected final Point3f getLightPos(Point3f lightPos) { light.getComputedLocation(lightPos); return (lightPos); }