From ca51bc21486a972ff4e4c0a2d6356703bf274ab1 Mon Sep 17 00:00:00 2001 From: Joyje Date: Mon, 10 Apr 2023 02:25:17 +0200 Subject: [PATCH 1/2] Moved code to seperate files to make it more readable --- VoxelSpace.html | 397 +----------------------------------------------- js/camera.js | 57 +++++++ js/input.js | 152 ++++++++++++++++++ js/map.js | 66 ++++++++ js/render.js | 128 ++++++++++++++++ 5 files changed, 407 insertions(+), 393 deletions(-) create mode 100644 js/camera.js create mode 100644 js/input.js create mode 100644 js/map.js create mode 100644 js/render.js diff --git a/VoxelSpace.html b/VoxelSpace.html index d3a8951..7f07f07 100755 --- a/VoxelSpace.html +++ b/VoxelSpace.html @@ -88,406 +88,17 @@ Your browser does not support the canvas element. + + + +