Give the zoom speed and throw to the trackball (if open).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(WindowProxy), | intent(inout) | :: | self |
subroutine apply_camera_controls(self) type(WindowProxy), intent(inout) :: self if (.not. c_associated(self%viewer_)) return if (vkf_viewer_set_camera_controls(self%viewer_, real(self%zoom_speed_, c_double), & merge(1_c_int, 0_c_int, self%camera_throw_)) /= 0) & write(*, '(a)') 'vkframes: could not set the camera controls' end subroutine apply_camera_controls