Skip to content

Commit 7ccf24e

Browse files
authored
Merge pull request #16976 from JohannesDeml/feature/fix-transform-controls-typo
Fix typo in transformcontrols and add additional information
2 parents 7f52269 + 16abe8f commit 7ccf24e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/js/controls/TransformControls.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ THREE.TransformControls = function ( camera, domElement ) {
598598

599599
}
600600

601-
// TODO: depricate
601+
// TODO: deprecate
602602

603603
this.getMode = function () {
604604

@@ -638,7 +638,7 @@ THREE.TransformControls = function ( camera, domElement ) {
638638

639639
this.update = function () {
640640

641-
console.warn( 'THREE.TransformControls: update function has been depricated.' );
641+
console.warn( 'THREE.TransformControls: update function has no more functionality and therefore has been deprecated.' );
642642

643643
};
644644

examples/jsm/controls/TransformControls.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ var TransformControls = function ( camera, domElement ) {
623623

624624
}
625625

626-
// TODO: depricate
626+
// TODO: deprecate
627627

628628
this.getMode = function () {
629629

@@ -663,7 +663,7 @@ var TransformControls = function ( camera, domElement ) {
663663

664664
this.update = function () {
665665

666-
console.warn( 'THREE.TransformControls: update function has been depricated.' );
666+
console.warn( 'THREE.TransformControls: update function has no more functionality and therefore has been deprecated.' );
667667

668668
};
669669

0 commit comments

Comments
 (0)