@Override public void reshape( final @Nullable GLAutoDrawable drawable, final int x, final int y, final int width, final int height) { this.mouse_region.set(JCameraFPSStyleMouseRegion.of( JCameraScreenOrigin.SCREEN_ORIGIN_TOP_LEFT, (double) width, (double) height)); this.renderer.reshape(width, height); } }
final AtomicReference<JCameraFPSStyleMouseRegion> mouse_region = new AtomicReference<>( JCameraFPSStyleMouseRegion.of( JCameraScreenOrigin.SCREEN_ORIGIN_TOP_LEFT, 640.0,
JCameraFPSStyleMouseRegion.of( JCameraScreenOrigin.SCREEN_ORIGIN_BOTTOM_LEFT, (double) in_window.getWidth(),