-- 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: 38cb507d94d4d2876a70b61ea9a79314ee20f9ca:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 38cb507d94d4d2876a70b61ea9a79314ee20f9ca
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Sun Sep 10 00:57:29 2023 -0700

    Three.js deprecated API updates

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

index 2242cd1fb1a2ce2fb10812228109ed2ff57eae1d..

index ..9ab38b77e40154667c889a2bb43e0806804b89f6 100644

--- a/scripts/parts.js
+++ b/scripts/parts.js
@@ -35,7 +35,7 @@ elation.require([], function() {
           engine: this._object.engine,
           properties: {
             object: object,
-            rotation: [object.rotation.x * THREE.Math.RAD2DEG, object.rotation.y * THREE.Math.RAD2DEG, object.rotation.z * THREE.Math.RAD2DEG],
+            rotation: [object.rotation.x * THREE.MathUtils.RAD2DEG, object.rotation.y * THREE.MathUtils.RAD2DEG, object.rotation.z * THREE.MathUtils.RAD2DEG],
             room: rootobject.room
           }
         });

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

-- Response ended

-- Page fetched on Sun Jun 2 18:13:26 2024