buffer.dispose();
System.exit(0);
}
public void createSun() {
Object3D sun = Loader.loadOBJ("content/planet.obj", null, 1.0f)[0];
if (sun == null) {
Logger.log("Could not load sun object.");
}
sun.setScale(10.0f);
sun.setTexture("SUN");
sun.compile();
sun.build();
world.addObject(sun);
}