LoopRepeat executes an action once too many

Description of the problem

When I was writing the unit test of AnimationAction, I noticed something I didn’t expect. When asking to LoopRepeat a action 3 times, it executes the action 4 times, I think.
Example: https://jsfiddle.net/wqoLka39/3/

Three.js version
  • Dev
  • r89
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, …)

Author: Fantashit

1 thought on “LoopRepeat executes an action once too many

Comments are closed.