repo: janusweb
action: commit
revision: 
path_from: 
revision_from: dcdc330242099b581140243a5ca7e78561ea06cf:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit dcdc330242099b581140243a5ca7e78561ea06cf
Author: James Baicoianu 
Date:   Sun Sep 10 01:35:11 2023 -0700

    Three.js deprecated API cleanup

diff --git a/scripts/janusbase.js b/scripts/janusbase.js
index 0fe2845e129fb4ad06f79f050a0634624fa358f4..
index ..844fb7c580909c0b10317d71f412126b5aa2bc2d 100644
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -1284,9 +1284,9 @@ console.log('its null', k, this[k], prop);
         // Special handling for 'rotation' and 'color'
         if (realkey == 'rotation') {
 /*
-          props['rotation'][0] *= THREE.Math.RAD2DEG;
-          props['rotation'][1] *= THREE.Math.RAD2DEG;
-          props['rotation'][2] *= THREE.Math.RAD2DEG;
+          props['rotation'][0] *= THREE.MathUtils.RAD2DEG;
+          props['rotation'][1] *= THREE.MathUtils.RAD2DEG;
+          props['rotation'][2] *= THREE.MathUtils.RAD2DEG;
 */
         } else if (realkey == 'color') {
           if (!this.colorIsDefault) {

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