// Path: 1.4.03-Demo-Cameras/core/src/com/udacity/gamedev/orthographicprojection/OrthographicProjection.java
// public class OrthographicProjection extends ApplicationAdapter {
// 
//     ShapeRenderer renderer;
//     DemoCamera demoCamera;
// 
//     @Override
//     public void create() {
//         renderer = new ShapeRenderer();
//         demoCamera = new DemoCamera();
//         // Tell LibGDX that demoCamera knows what to do with keypresses
//         Gdx.input.setInputProcessor(demoCamera);
//     }
// 
//     @Override
//     public void resize(int width, int height) {
//         demoCamera.resize(width, height);
//     }
// 
//     @Override
//     public void render() {
//         Gdx.gl.glClearColor(0, 0, 0, 1);
//         Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
//         demoCamera.update();
//         demoCamera.setCamera(renderer);
//         renderTestScene(renderer);
//         demoCamera.render(renderer);
//     }
// 
//     /**
//      * This method renders a few shapes for us to try our camera on. Note that we're using a Bezier
//      * curve, which is a way to draw smooth curves. For more information on Bezier curves, check
//      * out: https://en.wikipedia.org/wiki/B%C3%A9zier_curve
//      *
//      * Also note that a line is a line is a line. No matter how much we zoom in, a line is always
//      * just one pixel wide.
//      */
//     private void renderTestScene(ShapeRenderer renderer) {
//         renderer.begin(ShapeType.Filled);
//         renderer.setColor(Color.GREEN);
//         renderer.circle(100, 100, 90);
//         renderer.setColor(Color.RED);
//         renderer.rect(200, 10, 200, 200);
//         renderer.setColor(Color.YELLOW);
//         renderer.triangle(10, 200, 200, 200, 100, 400);
//         renderer.end();
//         renderer.begin(ShapeType.Line);
// 
//         renderer.setColor(Color.CYAN);
// 
//         // Here's another shape ShapeRenderer
//         renderer.curve(
//                 210, 210,
//                 400, 210,
//                 210, 400,
//                 400, 300,
//                 20);
//         renderer.end();
//     }
// }


import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.udacity.gamedev.orthographicprojection.OrthographicProjection;
package com.udacity.gamedev.orthographicprojection.desktop;


public class DesktopLauncher {
	public static void main (String[] arg) {
		LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
// Path: 1.4.03-Demo-Cameras/core/src/com/udacity/gamedev/orthographicprojection/OrthographicProjection.java
// public class OrthographicProjection extends ApplicationAdapter {
// 
//     ShapeRenderer renderer;
//     DemoCamera demoCamera;
// 
//     @Override
//     public void create() {
//         renderer = new ShapeRenderer();
//         demoCamera = new DemoCamera();
//         // Tell LibGDX that demoCamera knows what to do with keypresses
//         Gdx.input.setInputProcessor(demoCamera);
//     }
// 
//     @Override
//     public void resize(int width, int height) {
//         demoCamera.resize(width, height);
//     }
// 
//     @Override
//     public void render() {
//         Gdx.gl.glClearColor(0, 0, 0, 1);
//         Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
//         demoCamera.update();
//         demoCamera.setCamera(renderer);
//         renderTestScene(renderer);
//         demoCamera.render(renderer);
//     }
// 
//     /**
//      * This method renders a few shapes for us to try our camera on. Note that we're using a Bezier
//      * curve, which is a way to draw smooth curves. For more information on Bezier curves, check
//      * out: https://en.wikipedia.org/wiki/B%C3%A9zier_curve
//      *
//      * Also note that a line is a line is a line. No matter how much we zoom in, a line is always
//      * just one pixel wide.
//      */
//     private void renderTestScene(ShapeRenderer renderer) {
//         renderer.begin(ShapeType.Filled);
//         renderer.setColor(Color.GREEN);
//         renderer.circle(100, 100, 90);
//         renderer.setColor(Color.RED);
//         renderer.rect(200, 10, 200, 200);
//         renderer.setColor(Color.YELLOW);
//         renderer.triangle(10, 200, 200, 200, 100, 400);
//         renderer.end();
//         renderer.begin(ShapeType.Line);
// 
//         renderer.setColor(Color.CYAN);
// 
//         // Here's another shape ShapeRenderer
//         renderer.curve(
//                 210, 210,
//                 400, 210,
//                 210, 400,
//                 400, 300,
//                 20);
//         renderer.end();
//     }
// }


// Path: 1.4.03-Demo-Cameras/desktop/src/com/udacity/gamedev/orthographicprojection/desktop/DesktopLauncher.java
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.udacity.gamedev.orthographicprojection.OrthographicProjection;

package com.udacity.gamedev.orthographicprojection.desktop;


public class DesktopLauncher {
	public static void main (String[] arg) {
		LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
		new LwjglApplication(new OrthographicProjection(), config);