vkf_viewer_orthographic Interface

interface


Called by

interface~~vkf_viewer_orthographic~~CalledByGraph interface~vkf_viewer_orthographic vkf_viewer_orthographic proc~place_camera place_camera proc~place_camera->interface~vkf_viewer_orthographic proc~frame WindowProxy%frame proc~frame->proc~place_camera proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame

public function vkf_viewer_orthographic(viewer, left, right, bottom, top, near_distance, far_distance) bind(C, name="vkf_viewer_orthographic")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: viewer

viewer handle (vkf_viewer_create)

real(kind=c_double), value :: left
real(kind=c_double), value :: right
real(kind=c_double), value :: bottom
real(kind=c_double), value :: top
real(kind=c_double), value :: near_distance
real(kind=c_double), value :: far_distance

Return Value integer(kind=c_int)

Description

Use an orthographic projection with the given view-volume bounds. Returns 0, or -1 on failure.