Skip to content

Commit 83b8e17

Browse files
committed
Fix - THREE.Math was renamed to MathUtils
1 parent b327763 commit 83b8e17

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/JSRoot.core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
JSROOT.version_id = "6.3.x";
104104

105105
/** @summary JSROOT version date
106-
* @desc Release date in format day/month/year like "19/11/2021"*/
107-
JSROOT.version_date = "3/02/2022";
106+
* @desc Release date in format day/month/year like "19/11/2021" */
107+
JSROOT.version_date = "9/02/2022";
108108

109109
/** @summary JSROOT version id and date
110110
* @desc Produced by concatenation of {@link JSROOT.version_id} and {@link JSROOT.version_date}

scripts/JSRoot.geom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ JSROOT.define(['d3', 'three', 'geobase', 'painter', 'base3d'], (d3, THREE, geo,
15271527
break;
15281528
case 17: // Ctrl
15291529
this._tcontrols.setTranslationSnap( Math.ceil( this._overall_size ) / 50 );
1530-
this._tcontrols.setRotationSnap( THREE.Math.degToRad( 15 ) );
1530+
this._tcontrols.setRotationSnap( THREE.MathUtils.degToRad( 15 ) );
15311531
break;
15321532
case 84: // T (Translate)
15331533
this._tcontrols.setMode( "translate" );

0 commit comments

Comments
 (0)