default_view_parameters Subroutine

private pure subroutine default_view_parameters(self, eye, center, up)

The camera after a reset (view-frame coordinates; all zero if none is set).

Type Bound

View

Arguments

Type IntentOptional Attributes Name
class(View), intent(in) :: self
real(kind=wp), intent(out) :: eye(3)

the camera (view-frame coordinates; zero if not set)

real(kind=wp), intent(out) :: center(3)

the camera (view-frame coordinates; zero if not set)

real(kind=wp), intent(out) :: up(3)

the camera (view-frame coordinates; zero if not set)


Source Code

    pure subroutine default_view_parameters(self, eye, center, up)
        class(View), intent(in) :: self
        real(wp), intent(out) :: eye(3), center(3), up(3)   !! the camera (view-frame coordinates; zero if not set)
        eye = self%default_eye
        center = self%default_center
        up = self%default_up
    end subroutine default_view_parameters