Package com.io7m.jcamera.examples.jogl
Interface ExampleSphericalSimulationType
- All Known Implementing Classes:
ExampleSphericalSimulation
public interface ExampleSphericalSimulationType
The interface to simulations (with spherical cameras) exposed to JOGL.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidcameraSetEnabled(boolean b) Enable/disable the camera.doublegetInput()
-
Method Details
-
getInput
JCameraSphericalInputType getInput()- Returns:
- The camera input
-
getDeltaTime
double getDeltaTime()- Returns:
- The simulation delta time
-
integrate
JCameraSphericalSnapshot integrate()- Returns:
- A new camera snapshot
-
cameraIsEnabled
boolean cameraIsEnabled()- Returns:
trueif the camera is enabled.
-
cameraSetEnabled
void cameraSetEnabled(boolean b) Enable/disable the camera.- Parameters:
b-trueif the camera should be enabled.
-
getCamera
JCameraSphericalType getCamera()- Returns:
- The camera
-