90919293949596979899100
float newX = (float) (downCameraX + dx - dx * zoomRatio); float newY = (float) (downCameraY + dy - dy * zoomRatio); Camera cam = getCamera(); cam.zoomTo(zoomTween.getPosition()); cam.nudgeTo(newX, newY); cam.fforward(); } } @Override public void enter()
282283284285286287288289290291292
*/ for (int i = 0; i < nodes.size(); i++) { PhyloNode n = nodes.get(i); if (fforwardMe) n.fforward(); updateNode(n); n.drawMe = false; n.labelWasDrawn = false; n.isWithinScreen = isNodeWithinScreen(n); // n.isWithinScreen = true;
542543544545546547548549550551552
ArrayList ffMe = new ArrayList(); tree.getAll(tree.getRoot(), null, ffMe); for (int i = 0; i < ffMe.size(); i++) { PhyloNode n = (PhyloNode) ffMe.get(i); n.fforward(); } } public float getX(PhyloNode n) {