39404142434445
if (state == null) { throw new IllegalArgumentException("Null environment state"); } this.state = state; this.sun = new BasicSun(state.getSunState()); this.env3D = new BasicEnvironment3D(state.getEnvironment3DState(), this); }