Examples of OrthographicCamera


Examples of com.badlogic.gdx.graphics.OrthographicCamera

    this.world = world;
   
    width = Gdx.graphics.getWidth() / 40;
    height = Gdx.graphics.getHeight() / 40;
   
    cam = new OrthographicCamera();
    cam.setToOrtho(false, width, height);
    cam.update();
   
    batch = new SpriteBatch();
    batch.setProjectionMatrix(cam.combined);   
View Full Code Here

Examples of edu.cmu.cs.stage3.alice.core.camera.OrthographicCamera

          camera = symmetricPerspectiveCamera;
        } else if( sgCamera instanceof edu.cmu.cs.stage3.alice.scenegraph.PerspectiveCamera ) {
          PerspectiveCamera perspectiveCamera = new PerspectiveCamera();
          camera = perspectiveCamera;
        } else if( sgCamera instanceof edu.cmu.cs.stage3.alice.scenegraph.OrthographicCamera ) {
          OrthographicCamera orthographicCamera = new OrthographicCamera();
          camera = orthographicCamera;
        } else if( sgCamera instanceof edu.cmu.cs.stage3.alice.scenegraph.ProjectionCamera ) {
          ProjectionCamera projectionCamera = new ProjectionCamera();
          camera = projectionCamera;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.