@EqualityReference public final class JCameraFPSStyleAngularIntegrator extends Object implements JCameraFPSStyleAngularIntegratorType
JCameraFPSStyleAngularIntegratorType.| Modifier and Type | Method and Description |
|---|---|
void |
integrate(double time)
Integrate the positions/velocities of the current camera over
d. |
void |
integratorAngularSetAccelerationHorizontal(double a)
Set the acceleration around the horizontal axis to
a. |
void |
integratorAngularSetAccelerationVertical(double a)
Set the acceleration around the vertical axis to
a. |
void |
integratorAngularSetDragHorizontal(double d)
Set the drag around the horizontal axis to
a. |
void |
integratorAngularSetDragVertical(double d)
Set the drag around the vertical axis to
a. |
void |
integratorAngularSetMaximumSpeedHorizontal(double s)
Set the maximum rotation speed around the horizontal axis to
s. |
void |
integratorAngularSetMaximumSpeedVertical(double 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(double time)
JCameraIntegratorTyped.integrate in interface JCameraIntegratorTypetime - The delta timepublic void integratorAngularSetAccelerationHorizontal(double a)
JCameraFPSStyleAngularIntegratorTypea.integratorAngularSetAccelerationHorizontal in interface JCameraFPSStyleAngularIntegratorTypea - The acceleration value.public void integratorAngularSetAccelerationVertical(double a)
JCameraFPSStyleAngularIntegratorTypea.integratorAngularSetAccelerationVertical in interface JCameraFPSStyleAngularIntegratorTypea - The acceleration value.public void integratorAngularSetDragHorizontal(double d)
JCameraFPSStyleAngularIntegratorTypea.integratorAngularSetDragHorizontal in interface JCameraFPSStyleAngularIntegratorTyped - The drag value.public void integratorAngularSetDragVertical(double d)
JCameraFPSStyleAngularIntegratorTypea.integratorAngularSetDragVertical in interface JCameraFPSStyleAngularIntegratorTyped - The drag value.public void integratorAngularSetMaximumSpeedHorizontal(double s)
JCameraFPSStyleAngularIntegratorTypes.integratorAngularSetMaximumSpeedHorizontal in interface JCameraFPSStyleAngularIntegratorTypes - The maximum rotation speed.public void integratorAngularSetMaximumSpeedVertical(double s)
JCameraFPSStyleAngularIntegratorTypes
.integratorAngularSetMaximumSpeedVertical in interface JCameraFPSStyleAngularIntegratorTypes - The maximum rotation speed.public JCameraFPSStyleReadableType integratorGetCamera()
integratorGetCamera in interface JCameraFPSStyleAngularIntegratorTypepublic JCameraFPSStyleInputType integratorGetInput()
integratorGetInput in interface JCameraFPSStyleAngularIntegratorTypeCopyright © 2017 <code@io7m.com> http://io7m.com