matrix: Add cogl_matrix_orthographic
This adds an experimental cogl_matrix_orthographic() function that is more consistent with other Cogl api by taking x_1, y_1, x_2, y_2 arguments to define the top-left and bottom-right coordinates of the orthographic coordinates instead of OpenGL style left, right, bottom and top values. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
@ -479,7 +479,7 @@ cogl_matrix_copy
|
||||
cogl_matrix_equal
|
||||
cogl_matrix_free
|
||||
cogl_matrix_frustum
|
||||
cogl_matrix_ortho
|
||||
cogl_matrix_orthographic
|
||||
cogl_matrix_perspective
|
||||
cogl_matrix_look_at
|
||||
cogl_matrix_multiply
|
||||
|
Reference in New Issue
Block a user