(controller, startPosition, movement)
| 1008 | } |
| 1009 | |
| 1010 | function zoom2D(controller, startPosition, movement) { |
| 1011 | if (defined(movement.distance)) { |
| 1012 | movement = movement.distance; |
| 1013 | } |
| 1014 | |
| 1015 | const scene = controller._scene; |
| 1016 | const camera = scene.camera; |
| 1017 | |
| 1018 | handleZoom( |
| 1019 | controller, |
| 1020 | startPosition, |
| 1021 | movement, |
| 1022 | controller.zoomFactor, |
| 1023 | camera.getMagnitude(), |
| 1024 | ); |
| 1025 | } |
| 1026 | |
| 1027 | const twist2DStart = new Cartesian2(); |
| 1028 | const twist2DEnd = new Cartesian2(); |
nothing calls this directly
no test coverage detected
searching dependent graphs…