Package aspect.core

Examples of aspect.core.ScreenViewpoint


        //earth.rigidBody().addForce(moonGravity);
        //moon.rigidBody().addForce(earthGravity);
        background = rect2D(new Material(loadTexture(new File("textures/background.png"))), 4, 3, 800, 600);

        viewpoint = new ScreenViewpoint(Vector2.zero(), 1 / 32768f, 0) {
            @Override
            public Vector2 cameraPosition() {
                return ship.pos.xy();
            }
        };
View Full Code Here

TOP

Related Classes of aspect.core.ScreenViewpoint

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.