Skip to content

Commit

Permalink
OculusHandPointerModel: Replace prototype with super.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed May 6, 2021
1 parent a92265f commit 9bbd837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/webxr/OculusHandPointerModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class OculusHandPointerModel extends THREE.Object3D {
}

updateMatrixWorld(force) {
THREE.Object3D.prototype.updateMatrixWorld.call(this, force);
super.updateMatrixWorld( force );
if (this.pointerGeometry) {
this._updatePointer();
this._updateRaycaster();
Expand Down

0 comments on commit 9bbd837

Please sign in to comment.