A nearly imperceptible bug

That's 104 and 100, not the other way around!
This commit is contained in:
Justin Kunimune 2018-08-07 22:04:01 -04:00
parent e307b6d535
commit 105a90f5af
4 changed files with 6 additions and 6 deletions

View File

@ -70,7 +70,7 @@ public class MapAnalyzer extends MapApplication {
private static final double LN_10 = Math.log(10);
private static final int CHART_WIDTH = 500;
private static final int CHART_WIDTH = 450;
private static final int FINE_SAMP_NUM = 2048;
private static final double GLOBE_RES = .01;

View File

@ -103,8 +103,8 @@ import utils.Procedure;
*/
public abstract class MapApplication extends Application {
protected static final int GUI_WIDTH = 350;
protected static final int IMG_SIZE = 560;
protected static final int GUI_WIDTH = 250;
protected static final int IMG_SIZE = 500;
protected static final int V_SPACE = 7;
protected static final int H_SPACE = 5;
protected static final int MARGIN = 15;

View File

@ -33,7 +33,7 @@ import javafx.embed.swing.SwingFXUtils;
import javafx.scene.image.Image;
/**
* TODO: Write description
* An image that can be saved. It provides a convenient interface for both vector and raster images.
*
* @author jkunimune
*/

View File

@ -97,10 +97,10 @@ public class CahillKeyes {
double len = meridianDistance(mer, x, y);
if (len <= rC) { //zone c (frigid zone)
return new double[] {90 - len/100, lonD};
return new double[] {90 - len/104, lonD};
}
else if (len <= rE && lonD < 30) { //zone e ()
return new double[] {75 - (len-rC)/104, lonD};
return new double[] {75 - (len-rC)/100, lonD};
}
else if (lonD <= 29) { //zone i (central zone)
return new double[] {Math2.linInterp(len, rE, meridianLength(mer), 73, 0), lonD};