An orthographic projection with the given bounds (in view units).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(View), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | left |
bounds (view units) |
||
| real(kind=wp), | intent(in) | :: | right |
bounds (view units) |
||
| real(kind=wp), | intent(in) | :: | bottom |
bounds (view units) |
||
| real(kind=wp), | intent(in) | :: | top |
bounds (view units) |
subroutine set_orthographic(self, left, right, bottom, top) class(View), intent(inout) :: self real(wp), intent(in) :: left, right, bottom, top !! bounds (view units) self%projection = ORTHOGRAPHIC self%ortho = [left, right, bottom, top] end subroutine set_orthographic