source:
issm/oecreview/Archive/19101-20495/ISSM-20484-20485.diff
Last change on this file was 20498, checked in by , 9 years ago | |
---|---|
File size: 668 bytes |
-
../trunk-jpl/src/m/plot/webgl.js
341 341 canvas.rotation[1] += degrees((canvas.lastDeltaY - ev.deltaY) / canvas.clientHeight / canvas.zoomFactor * -2); 342 342 343 343 if (canvas.rotation[0] > 360) {canvas.rotation[0] -= 360}; 344 if (canvas.rotation[0] < 0) {canvas.rotation[0] += 360};344 if (canvas.rotation[0] < -360) {canvas.rotation[0] += 360}; 345 345 if (canvas.rotation[1] > 180) {canvas.rotation[1] -= 360}; 346 346 if (canvas.rotation[1] < -180) {canvas.rotation[1] += 360}; 347 347
Note:
See TracBrowser
for help on using the repository browser.