Skip to content

Commit

Permalink
rename helper.update() params
Browse files Browse the repository at this point in the history
  • Loading branch information
culdo committed Dec 25, 2024
1 parent 9cec98f commit 86bd81a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/modules/MMDAnimationHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,14 @@ class MMDAnimationHelper {
/**
* Updates the animation.
*
* @param {Number} delta
* @param {Number} physicDelta
* @return {MMDAnimationHelper}
*/
update(delta: number, time: number): MMDAnimationHelper {
update(physicDelta: number, motionTime: number): MMDAnimationHelper {

for (let i = 0; i < this.meshes.length; i++) {

this._animateMesh(this.meshes[i], delta, time);
this._animateMesh(this.meshes[i], physicDelta, motionTime);

}

Expand Down

0 comments on commit 86bd81a

Please sign in to comment.