Skip to content

Commit c476c0d

Browse files
authored
Quaternion: Remove redundant _onChangeCallback in slerp(). (#27365)
1 parent efafc2b commit c476c0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/math/Quaternion.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,7 @@ class Quaternion {
561561
this._y = s * y + t * this._y;
562562
this._z = s * z + t * this._z;
563563

564-
this.normalize();
565-
this._onChangeCallback();
564+
this.normalize(); // normalize calls _onChangeCallback()
566565

567566
return this;
568567

0 commit comments

Comments
 (0)