Planetary-Orbit-Simulator/simulator/src/com/verictas/pos/simulator/Main.java

20 lines
652 B
Java
Raw Normal View History

package com.verictas.pos.simulator;
2016-07-06 18:33:02 +00:00
2016-07-05 12:49:37 +00:00
import javax.vecmath.*;
public class Main {
public static void main(String[] args) {
2016-07-06 18:33:02 +00:00
Object object1 = new Object(1000, new Vector3f(1,2,3), new Vector3f(0,4,3));
Object object2 = new Object(200, new Vector3f(2,38,2), new Vector3f(3,4,5));
Object object3 = new Object(200, new Vector3f(2,-20,2), new Vector3f(3,4,5));
Object object4 = new Object(200, new Vector3f(2,4,2), new Vector3f(3,4,5));
2016-07-05 12:49:37 +00:00
2016-07-06 18:33:02 +00:00
// Make a list of all the objects
Object[] objects = {object1, object2, object3, object4};
2016-07-05 12:49:37 +00:00
2016-07-06 18:33:02 +00:00
// Start the simulation
Simulator.run(2, objects);
}
}