matrix: Add cogl_matrix_look_at
Similar to the widely used gluLookAt API, this adds a CoglMatrix utility for setting up a view transform in terms of positioning a camera/eye position that points to a given object position aligned to a given world-up vector. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
@@ -424,6 +424,7 @@ cogl_matrix_free
|
||||
cogl_matrix_frustum
|
||||
cogl_matrix_ortho
|
||||
cogl_matrix_perspective
|
||||
cogl_matrix_look_at
|
||||
cogl_matrix_multiply
|
||||
cogl_matrix_rotate
|
||||
cogl_matrix_translate
|
||||
|
Reference in New Issue
Block a user