Skip to content

Commit

Permalink
Fix Math/MathUtils related reference issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
NewKrok committed May 30, 2022
1 parent 4acf7b1 commit 9b3de7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@newkrok/three-tps",
"version": "0.5.0",
"version": "0.5.1",
"description": "TPS extension for THREE Game",
"exports": {
"./src/*": "./src/*"
Expand Down
2 changes: 1 addition & 1 deletion src/js/newkrok/three-tps/tps-camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const createTPSCamera = (config) => {
);
}

currentDistance = THREE.Math.lerp(
currentDistance = THREE.MathUtils.lerp(
currentDistance,
offsetAndCameraDistance,
delta *
Expand Down

0 comments on commit 9b3de7e

Please sign in to comment.