WIP
This commit is contained in:
1 parent
f9a2409dad
commit
175ea1b726
5 files changed
+16
-8
No files matched your search
@@ -6,6 +6,7 @@ import {
|
||||
resizeCanvas,
|
||||
viewport,
|
||||
} from "#/engine/Viewport.ts";
|
||||
import { listenKeyboard } from "./engine/Keyboard.ts";
|
||||
|
||||
let then = self.performance.now();
|
||||
let delta = 0;
|
||||
@@ -32,6 +33,7 @@ function animate(timestamp: number): void {
|
||||
});
|
||||
|
||||
listenPointer();
|
||||
listenKeyboard();
|
||||
|
||||
animate(delta);
|
||||
})();
|
||||
Reference in new issue
Block a user