@EqualityReference public final class JCameraFPSStyleAngularIntegrator extends Object implements JCameraFPSStyleAngularIntegratorType
JCameraFPSStyleAngularIntegratorType.| Modifier and Type | Method and Description |
|---|---|
void |
integrate(float time)
Integrate the positions/velocities of the current camera over
d. |
void |
integratorAngularSetAccelerationHorizontal(float a)
Set the acceleration around the horizontal axis to
a. |
void |
integratorAngularSetAccelerationVertical(float a)
Set the acceleration around the vertical axis to
a. |
void |
integratorAngularSetDragHorizontal(float d)
Set the drag around the horizontal axis to
a. |
void |
integratorAngularSetDragVertical(float d)
Set the drag around the vertical axis to
a. |
void |
integratorAngularSetMaximumSpeedHorizontal(float s)
Set the maximum rotation speed around the horizontal axis to
s. |
void |
integratorAngularSetMaximumSpeedVertical(float s)
Set the maximum rotation speed around the vertical axis to
s
. |
JCameraFPSStyleReadableType |
integratorGetCamera() |
JCameraFPSStyleInputType |
integratorGetInput() |
static JCameraFPSStyleAngularIntegratorType |
newIntegrator(JCameraFPSStyleType in_camera,
JCameraFPSStyleInputType in_input)
Construct a new integrator.
|
public static JCameraFPSStyleAngularIntegratorType newIntegrator(JCameraFPSStyleType in_camera, JCameraFPSStyleInputType in_input)
in_camera - The camera to be integrated.in_input - The input to be sampled.public void integrate(float time)
JCameraIntegratorTyped.integrate in interface JCameraIntegratorTypetime - The delta timepublic void integratorAngularSetAccelerationHorizontal(float a)
JCameraFPSStyleAngularIntegratorTypea.integratorAngularSetAccelerationHorizontal in interface JCameraFPSStyleAngularIntegratorTypea - The acceleration value.public void integratorAngularSetAccelerationVertical(float a)
JCameraFPSStyleAngularIntegratorTypea.integratorAngularSetAccelerationVertical in interface JCameraFPSStyleAngularIntegratorTypea - The acceleration value.public void integratorAngularSetDragHorizontal(float d)
JCameraFPSStyleAngularIntegratorTypea.integratorAngularSetDragHorizontal in interface JCameraFPSStyleAngularIntegratorTyped - The drag value.public void integratorAngularSetDragVertical(float d)
JCameraFPSStyleAngularIntegratorTypea.integratorAngularSetDragVertical in interface JCameraFPSStyleAngularIntegratorTyped - The drag value.public void integratorAngularSetMaximumSpeedHorizontal(float s)
JCameraFPSStyleAngularIntegratorTypes.integratorAngularSetMaximumSpeedHorizontal in interface JCameraFPSStyleAngularIntegratorTypes - The maximum rotation speed.public void integratorAngularSetMaximumSpeedVertical(float s)
JCameraFPSStyleAngularIntegratorTypes
.integratorAngularSetMaximumSpeedVertical in interface JCameraFPSStyleAngularIntegratorTypes - The maximum rotation speed.public JCameraFPSStyleReadableType integratorGetCamera()
integratorGetCamera in interface JCameraFPSStyleAngularIntegratorTypepublic JCameraFPSStyleInputType integratorGetInput()
integratorGetInput in interface JCameraFPSStyleAngularIntegratorTypeCopyright © 2016 <code@io7m.com> http://io7m.com