public final class ExampleSphericalSimulation extends Object implements ExampleSphericalSimulationType
| Constructor and Description |
|---|
ExampleSphericalSimulation()
$example: Construct a new simulation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
cameraIsEnabled() |
void |
cameraSetEnabled(boolean b)
Enable/disable the camera.
|
JCameraSphericalType |
getCamera() |
double |
getDeltaTime() |
JCameraSphericalInputType |
getInput() |
JCameraSphericalSnapshot |
integrate()
$example: Integrate the camera.
|
public ExampleSphericalSimulation()
public JCameraSphericalSnapshot integrate()
integrate in interface ExampleSphericalSimulationTypepublic boolean cameraIsEnabled()
cameraIsEnabled in interface ExampleSphericalSimulationTypetrue if the camera is enabled.public void cameraSetEnabled(boolean b)
ExampleSphericalSimulationTypecameraSetEnabled in interface ExampleSphericalSimulationTypeb - true if the camera should be enabled.public JCameraSphericalType getCamera()
getCamera in interface ExampleSphericalSimulationTypepublic double getDeltaTime()
getDeltaTime in interface ExampleSphericalSimulationTypepublic JCameraSphericalInputType getInput()
getInput in interface ExampleSphericalSimulationTypeCopyright © 2017 <code@io7m.com> http://io7m.com