Package com.io7m.jcamera
Interface JCameraFPSStyleLinearIntegratorType
- All Superinterfaces:
JCameraIntegratorType
- All Known Subinterfaces:
JCameraFPSStyleIntegratorType
- All Known Implementing Classes:
JCameraFPSStyleLinearIntegrator
The type of integrators that integrate linear movement for
JCameraFPSStyleType cameras.-
Method Summary
Modifier and TypeMethodDescriptionvoidintegratorLinearSetAcceleration(double a) Set the linear acceleration toa.voidintegratorLinearSetDrag(double f) Set the linear drag factor tof.voidintegratorLinearSetMaximumSpeed(double s) Set the maximum linear movement speed tos.Methods inherited from interface com.io7m.jcamera.JCameraIntegratorType
integrate
-
Method Details
-
integratorGetCamera
JCameraFPSStyleReadableType integratorGetCamera()- Returns:
- The camera that will be affected by the integrator
-
integratorGetInput
JCameraFPSStyleInputType integratorGetInput()- Returns:
- The input used to drive the integrator.
-
integratorLinearSetAcceleration
void integratorLinearSetAcceleration(double a) Set the linear acceleration toa.- Parameters:
a- The linear acceleration.
-
integratorLinearSetDrag
void integratorLinearSetDrag(double f) Set the linear drag factor tof.- Parameters:
f- The linear drag factor.
-
integratorLinearSetMaximumSpeed
void integratorLinearSetMaximumSpeed(double s) Set the maximum linear movement speed tos.- Parameters:
s- The maximum linear speed.
-