Package com.threed.jpct

Examples of com.threed.jpct.Object3D


    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);
  }
View Full Code Here

TOP

Related Classes of com.threed.jpct.Object3D

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.