three-stdlib
three-stdlib copied to clipboard
fix: replace deprecated Clock with Timer
Summary
- Replace
THREE.ClockwithTHREE.TimerinEffectComposerandWater2 - Add required
timer.update()calls beforegetDelta() - 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.Clockdeprecation warnings in console
🤖 Generated with Claude Code