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

minor

parent 1e348e49
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