three-stdlib icon indicating copy to clipboard operation
three-stdlib copied to clipboard

fix: replace deprecated Clock with Timer

Open madisonrickert opened this issue 7 months ago • 0 comments

Summary

  • Replace THREE.Clock with THREE.Timer in EffectComposer and Water2
  • Add required timer.update() calls before getDelta()
  • Port of upstream mrdoob/three.js#32793

Test plan

  • [ ] Verify EffectComposer renders post-processing passes with correct frame timing
  • [ ] Verify Water2 flow animation runs at correct speed
  • [ ] Confirm no THREE.Clock deprecation warnings in console

🤖 Generated with Claude Code

madisonrickert avatar Apr 03 '26 03:04 madisonrickert