add 3d position cache
This commit is contained in:
@@ -42,9 +42,9 @@ public class Window {
|
||||
public final Signal1<Coordinate> OnCellEnter = new Signal1<>();
|
||||
public final Signal1<Coordinate> OnCellExit = new Signal1<>();
|
||||
|
||||
public Window(Renderer renderer, World world) {
|
||||
public Window(Renderer renderer, World world, Camera camera) {
|
||||
this.renderer = new Renderer();
|
||||
this.cam = world.getCamera();
|
||||
this.cam = camera;
|
||||
this.tasks = new ConcurrentLinkedDeque<>();
|
||||
this.world = world;
|
||||
this.regularTasks = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user