Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
Line 938: Line 938:
    });
    });
    xm.map.needsUpdate = true;
    xm.map.needsUpdate = true;
-
      var xtick = new THREE.Mesh(new THREE.PlaneGeometry(13, 13, 2, 2), xm);
+
      var xtick = new THREE.Mesh(new THREE.PlaneGeometry(13/ASPECT, 13, 2, 2), xm);
    xtick.position.y = i/5*100-50;
    xtick.position.y = i/5*100-50;
    xtick.position.x = -50;
    xtick.position.x = -50;

Revision as of 03:42, 28 September 2011