1. 16 6月, 2017 1 次提交
  2. 10 12月, 2016 1 次提交
  3. 08 12月, 2016 1 次提交
  4. 16 11月, 2016 1 次提交
  5. 10 11月, 2016 1 次提交
  6. 09 11月, 2016 1 次提交
  7. 15 10月, 2016 1 次提交
    • M
      BUG: zoom with negative factor never gets damped (#9863) · 43f8b76c
      mhalle 提交于
      When using a mouse wheel to zoom in and out quickly, sometimes zoomCamera's factor can go negative. When that happens, _zoomStart.y never gets reset to 0, causing zooming to stop. The fix is to always update _zoomStart, but only update _eye when (factor != 1.0 && zoom > 0.0) .
      43f8b76c
  8. 18 8月, 2016 2 次提交
  9. 01 3月, 2016 1 次提交
  10. 11 12月, 2015 1 次提交
  11. 31 10月, 2015 1 次提交
  12. 23 10月, 2015 5 次提交
    • S
      Removed unnecessary touchZoomDistance resets · 34fff87e
      Shaw 提交于
      The `_touchZoomDistanceStart` and `_touchZoomDistanceEnd` resets are not needed since the values will be set in the `touchstart` function when two or more touches are present.
      34fff87e
    • S
      Multitouch fixes · d0e2a486
      Shaw 提交于
      * Removed unnecessary `default` case for two or more touches on `touchend` to prevent issues with 3 or more touches.
      * Reset zoom distances on `case 0` and `case 1`. I couldn't combine them easily without doing a separate `if` statement.
      * Simplified `case 1` action to set `_moveCurr` and `_movePrev` to the current touch position preventing camera jumping next time `touchmove` is called.
      
      Related to issue #7185 and pull request #7406
      d0e2a486
    • M
      TrackballControls: Refactored touch code. See #7406. · c784d820
      Mr.doob 提交于
      c784d820
    • S
      Simplified multitouch TrackballControls fix · b5a7e990
      Shaw 提交于
      b5a7e990
    • S
      Multitouch fix for TrackballControls · 06eea8c7
      Shaw 提交于
      Fix for #7185. After using two fingers, the camera would rapidly rotate if both fingers were not removed simultaneously. Adding in some state checks in `touchmove` and `touchend` prevents the jump from the null `_movePrev`, allowing users to quickly go from zooming and panning to rotating.
      06eea8c7
  13. 13 10月, 2015 1 次提交
  14. 03 8月, 2015 1 次提交
  15. 25 7月, 2015 1 次提交
  16. 17 7月, 2015 1 次提交
  17. 28 5月, 2015 1 次提交
  18. 23 2月, 2015 1 次提交
  19. 19 2月, 2015 2 次提交
  20. 11 11月, 2014 1 次提交
  21. 08 5月, 2014 2 次提交
  22. 18 4月, 2014 1 次提交
  23. 17 4月, 2014 1 次提交
  24. 16 4月, 2014 2 次提交
  25. 21 3月, 2014 1 次提交
  26. 05 3月, 2014 1 次提交
  27. 13 12月, 2013 1 次提交
    • M
      Update TrackballControls.js · 60f79860
      Mark Lundin 提交于
      Removed unnecessary `new` Vector in `getMouseProjectionOnBall`.
      
      Removed assignment of variables have already been set.
      
      Made the optional target in `getMouseOnScreen` mandatory.
      60f79860
  28. 12 12月, 2013 1 次提交
    • J
      Fix mouse tracking bug when dom element is scrolled to a different position. · b8653d73
      Jason Grout 提交于
      When using getBoundingClientRect, the returned coordinates are relative to the viewport.  If the page is then scrolled and we have a dom element that is not the document, the top and left offsets are out of date, thus the rotation calculations are off (sometimes by a lot).
      
      In this fix, we instead do all calculations relative to the document (not the viewport) by adjusting the screen.left and screen.top variables with the scroll offset and using pageX/pageY instead of clientX/clientY for the click coordinates.
      b8653d73
  29. 06 12月, 2013 1 次提交
  30. 10 11月, 2013 1 次提交
  31. 26 6月, 2013 1 次提交
  32. 24 6月, 2013 1 次提交
    • G
      #fixes 3579 · 91e1f9cb
      gero3 提交于
      I haven't tested the problem but it was a bad idea anyways to have start and end have the same referenceObject
      91e1f9cb