Package com.badlogic.gdx.graphics.g3d

Examples of com.badlogic.gdx.graphics.g3d.ModelBatch


    ModelInstanceParticleBatch modelInstanceParticleBatch;
   
    public void create () {
      if (ui != null) return;
      int w = Gdx.graphics.getWidth(), h = Gdx.graphics.getHeight();
      modelBatch = new ModelBatch();
      environment = new Environment();
      environment.add(new DirectionalLight().set(Color.WHITE, 0,0,-1));
     
      worldCamera = new PerspectiveCamera(67, w, h);
      worldCamera.position.set(10, 10, 10);
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.graphics.g3d.ModelBatch

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.