Skip to content
Snippets Groups Projects
Commit 27612343 authored by sesteves's avatar sesteves
Browse files

minor

parent 6200c983
No related branches found
No related tags found
No related merge requests found
......@@ -8,9 +8,23 @@ import org.apache.commons.math3.geometry.euclidean.threed.Vector3D;
*/
public class MultiLayerModel implements AtmosphericRefraction {
private static final double KARMA_LINE = 1000000;
private static final double LAYER_SIZE = KARMA_LINE * 0.25;
private int numberOfLayers = 1;
public MultiLayerModel() {
}
public MultiLayerModel(int numberOfLayers) {
this.numberOfLayers = numberOfLayers;
}
@Override
public long getDeviation(Vector3D pos, Vector3D los, double altitude) {
double numberOfCrossedLayers = (KARMA_LINE - altitude) / LAYER_SIZE;
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment