-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: janusweb
action: commit
revision:
path_from:
revision_from: 031707a5c18099798a1b54035d248e3b7cc69700:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 031707a5c18099798a1b54035d248e3b7cc69700
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Thu Oct 22 23:07:21 2020 -0700

    Respect spawn point rotation

diff --git a/scripts/room.js b/scripts/room.js

index 2657040bfe2b98304154de2b15e60a3697fbe8e1..

index ..300de93ec9d72ff31945ecfcc5428b7062440b32 100644

--- a/scripts/room.js
+++ b/scripts/room.js
@@ -788,7 +788,8 @@ elation.require([
           }
           if (!hasReciprocalLink) {
             // If no reciprocal link was found, spawn one so we can find our way back
-            let linkrot = this.spawnpoint.rotation.clone();
+            let linkrot = new EulerDegrees();
+            linkrot.radians.copy(this.spawnpoint.rotation);
             //linkrot.x *= THREE.Math.RAD2DEG;
             linkrot.y = linkrot.y + 180;
             //linkrot.z *= THREE.Math.RAD2DEG;

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:53:52 2024