public void resize(int width, int height) { if (!_initialized) { return; } // Resize viewport Horde3D.resize(0, 0, width, height); // Set virtual camera parameters Horde3D.setupCameraView(Horde3D.PrimeTimeCam, 45.0f, (float)width / height, 0.1f, 1000.0f); }