The camera (view-frame coordinates) to show the next time the view is drawn (at once if it is shown: the window's set_camera can also fly there). It replaces a pending reset.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(View), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | eye(3) |
the camera (view-frame coordinates) |
||
| real(kind=wp), | intent(in) | :: | center(3) |
the camera (view-frame coordinates) |
||
| real(kind=wp), | intent(in) | :: | up(3) |
the camera (view-frame coordinates) |
subroutine view_set_camera(self, eye, center, up) class(View), intent(inout) :: self real(wp), intent(in) :: eye(3), center(3), up(3) !! the camera (view-frame coordinates) self%pending(:, 1) = eye self%pending(:, 2) = center self%pending(:, 3) = up self%camera_pending = .true. self%reset_pending = .false. end subroutine view_set_camera