@Override default <T0, T1> PMatrix4x4D<T0, T1> cameraMakeViewPMatrix() { return JCameraViewMatrix.makeViewPMatrix( this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); } }
@Override public void cameraMakeViewMatrix( final JCameraContext ctx, final Matrix4x4FType m) { JCameraViewMatrix.makeViewMatrix( ctx, m, this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Override public <T0, T1> void cameraMakeViewPMatrix( final JCameraContext ctx, final PMatrix4x4FType<T0, T1> m) { JCameraViewMatrix.makeViewPMatrix( ctx, m, this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Override public <T0, T1> void cameraMakeViewPMatrix( final JCameraContext ctx, final PMatrix4x4FType<T0, T1> m) { JCameraViewMatrix.makeViewPMatrix( ctx, m, this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Override public void cameraMakeViewMatrix( final JCameraContext ctx, final Matrix4x4FType m) { JCameraViewMatrix.makeViewMatrix( ctx, m, this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Override public void integrate( final float t) { this.speed_zoom = this.integrateZoom(t); final float linear_zoom_scale = this.linear_scale.evaluate(this.camera.cameraGetZoom()); final float drag_zoom_scale = this.drag_scale.evaluate(this.camera.cameraGetZoom()); this.speed_forward = this.integrateForward(t, linear_zoom_scale, drag_zoom_scale); this.speed_right = this.integrateRight(t, linear_zoom_scale, drag_zoom_scale); this.speed_up = this.integrateUp(t); }
@Override public Matrix4x4D cameraMakeViewMatrix() { this.deriveVectors(); return JCameraViewMatrix.makeViewMatrix( this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Override public Matrix4x4D cameraMakeViewMatrix() { this.deriveVectors(); return JCameraViewMatrix.makeViewMatrix( this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Override public <T0, T1> PMatrix4x4D<T0, T1> cameraMakeViewPMatrix() { this.deriveVectors(); return JCameraViewMatrix.makeViewPMatrix( this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Override public <T0, T1> PMatrix4x4D<T0, T1> cameraMakeViewPMatrix() { this.deriveVectors(); return JCameraViewMatrix.makeViewPMatrix( this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Test(expected = IllegalArgumentException.class) public void testCameraIncorrect() { final JCameraFPSStyleType c0 = JCameraFPSStyle.newCamera(); final JCameraFPSStyleType c1 = JCameraFPSStyle.newCamera(); final JCameraFPSStyleInputType i = JCameraFPSStyleInput.newInput(); final JCameraFPSStyleAngularIntegratorType ai = JCameraFPSStyleAngularIntegrator.newIntegrator(c0, i); final JCameraFPSStyleLinearIntegratorType li = JCameraFPSStyleLinearIntegrator.newIntegrator(c1, i); JCameraFPSStyleIntegrator.newIntegratorWith(ai, li); }
@Override default Matrix4x4D cameraMakeViewMatrix() { return JCameraViewMatrix.makeViewMatrix( this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Override default Matrix4x4D cameraMakeViewMatrix() { return JCameraViewMatrix.makeViewMatrix( this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); }
@Override default <T0, T1> PMatrix4x4D<T0, T1> cameraMakeViewPMatrix() { return JCameraViewMatrix.makeViewPMatrix( this.cameraGetPosition(), this.cameraGetRight(), this.cameraGetUp(), this.cameraGetForward()); } }
/** * @return The horizontal coefficient */ @Override public final double horizontal() { return horizontalIsSet() ? horizontal : JCameraRotationCoefficientsType.super.horizontal(); }
/** * @return The vertical coefficient */ @Override public final double vertical() { return verticalIsSet() ? vertical : JCameraRotationCoefficientsType.super.vertical(); }