Package com.badlogic.gdx.graphics

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

TOP

Related Classes of com.badlogic.gdx.graphics.OrthographicCamera

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.