You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before selecting a camera, you must select which type of camera you want to create, either Orthographic or Perspective. To create a camera you must create a camera controller which will create a camera for you.
TestApplication.java ( or any other custom application class)
CameraControllercamera@OverrideprotectedvoidOnInit() {
System.out.println(title+" Init!");
camera = newCameraController.Orthographic(16.f/9.f); // The orthographic camera controller// takes in an aspect ratio
}