| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | viewer |
viewer handle (vkf_viewer_create) |
||
| real(kind=c_double), | intent(in), | dimension(3) | :: | eye |
view-frame coordinates |
|
| real(kind=c_double), | intent(in), | dimension(3) | :: | center |
view-frame coordinates |
|
| real(kind=c_double), | intent(in), | dimension(3) | :: | up |
view-frame coordinates |
Set the camera's eye, center and up vectors (view-frame coordinates); stops the trackball's throw (the camera doesn't keep turning after it). Returns 0, or -1 on failure.