You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
652 B
Java

package com.verictas.pos.simulator;
import javax.vecmath.*;
public class Main {
public static void main(String[] args) {
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));
// Make a list of all the objects
Object[] objects = {object1, object2, object3, object4};
// Start the simulation
Simulator.run(2, objects);
}
}