Skip to content

Commit

Permalink
Improve pivot mesh transform
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Dec 28, 2023
1 parent 2c391b3 commit 5ed9cad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/src/PivotPointMesh.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export class PivotPointMesh extends Mesh {

}

updateMatrixWorld() {

this.matrixWorld.makeTranslation( this.position );

}

dispose() {

this.geometry.dispose();
Expand Down

0 comments on commit 5ed9cad

Please sign in to comment.