Minor cleanup left from last PR
*/
package org.terasology.rendering.world;
+import java.util.List;
import org.terasology.config.Config;
import org.terasology.config.RenderingConfig;
import org.terasology.context.Context;
import org.terasology.engine.subsystem.DisplayDevice;
import org.terasology.engine.subsystem.lwjgl.GLBufferPool;
import org.terasology.engine.subsystem.lwjgl.LwjglGraphics;
-import org.terasology.entitySystem.systems.RegisterSystem;
import org.terasology.logic.console.Console;
import org.terasology.logic.console.commandSystem.MethodCommand;
import org.terasology.logic.console.commandSystem.annotations.Command;
import org.terasology.utilities.Assets;
import org.terasology.world.WorldProvider;
import org.terasology.world.chunks.ChunkProvider;
-
-import java.util.List;
-
import static org.lwjgl.opengl.GL11.GL_COLOR_BUFFER_BIT;
import static org.lwjgl.opengl.GL11.GL_CULL_FACE;
import static org.lwjgl.opengl.GL11.GL_DEPTH_BUFFER_BIT;
* TODO: update this section to include new, relevant objects
* - a RenderableWorld instance, providing acceleration structures caching blocks requiring different rendering treatments<br/>
*/
-@RegisterSystem
public final class WorldRendererImpl implements WorldRenderer {
/*
* Presumably, the eye height should be context.get(Config.class).getPlayer().getEyeHeight() above the ground plane.
* It's not, so for now, we use this factor to adjust for the disparity.
*/
private static final float GROUND_PLANE_HEIGHT_DISPARITY = -0.7f;
- private static RenderGraph renderGraph = new RenderGraph(); // TODO: Try making this non-static
+ private RenderGraph renderGraph = new RenderGraph();
private boolean isFirstRenderingStageForCurrentFrame;
private final RenderQueuesHelper renderQueues;
