-- 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: a9234d9c405a4c8079bb398f1ebc72bebf358bd0:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit a9234d9c405a4c8079bb398f1ebc72bebf358bd0
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Wed Aug 5 11:53:29 2020 -0700

    Link rotation uses degrees

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

index 6f67f0af9ac81dc42ea90f8bf6bd32db4104cfa1..

index ..202d4c8aaff8aa2e36e1806fb5392773001519ae 100644

--- a/scripts/room.js
+++ b/scripts/room.js
@@ -767,9 +767,9 @@ 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();
-            linkrot.x *= THREE.Math.RAD2DEG;
-            linkrot.y = (linkrot.y * THREE.Math.RAD2DEG) + 180;
-            linkrot.z *= THREE.Math.RAD2DEG;
+            //linkrot.x *= THREE.Math.RAD2DEG;
+            linkrot.y = linkrot.y + 180;
+            //linkrot.z *= THREE.Math.RAD2DEG;
             let linkpos = this.spawnpoint.localToWorld(V(0,0,player.fatness/2));
             this.createObject('link', {
               pos: linkpos,

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

-- Response ended

-- Page fetched on Sun Jun 2 18:32:40 2024