Changeset 20485


Ignore:
Timestamp:
04/09/16 11:30:36 (9 years ago)
Author:
dlcheng
Message:

CHG: Fixing azimuth rotation bug when going below 0 degrees.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/webgl.js

    r20401 r20485  
    342342               
    343343                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};
    345345                if (canvas.rotation[1] > 180) {canvas.rotation[1] -= 360};
    346346                if (canvas.rotation[1] < -180) {canvas.rotation[1] += 360};
Note: See TracChangeset for help on using the changeset viewer.