From e1f5c6ebe271ead4f9734a7323f741120848e875 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 24 May 2023 10:42:28 +0200 Subject: [PATCH] moved all panorama stuff to panorama folder --- index.html => res/panorama.html | 4 ++-- res/{ => panorama}/script.js | 2 +- res/{ => panorama}/style.css | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename index.html => res/panorama.html (84%) rename res/{ => panorama}/script.js (98%) rename res/{ => panorama}/style.css (100%) diff --git a/index.html b/res/panorama.html similarity index 84% rename from index.html rename to res/panorama.html index b0cdf0c..664698b 100644 --- a/index.html +++ b/res/panorama.html @@ -5,8 +5,8 @@ - - + + Fabrika Hrádek Tour diff --git a/res/script.js b/res/panorama/script.js similarity index 98% rename from res/script.js rename to res/panorama/script.js index 6b23664..d681a82 100644 --- a/res/script.js +++ b/res/panorama/script.js @@ -30,7 +30,7 @@ function load_panorama() ctx.drawImage(img, x1, 0, x2, img.height, 0, 0, WIDTH, WIDTH * ASPECT_RATIO); //DRAW A HALF OF img }; - img.src = './res/img/test.jpg'; + img.src = './img/test.jpg'; } function turn_left() diff --git a/res/style.css b/res/panorama/style.css similarity index 100% rename from res/style.css rename to res/panorama/style.css