149150151152153154155156157158159
private BackwardRayTracer getLogic() { Thread me = Thread.currentThread(); BackwardRayTracer ret = logics.get(me); if (ret == null) {//create one if it does not already exist ret = new BackwardRayTracerHQ(scene); logics.put(me, ret); } return ret; }