mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
Merge pull request #444 from wethu/wethu-docs-minor-fix-example-numbering
Fix numbering - opengl matrix uniform examples (docs)
This commit is contained in:
@@ -34,7 +34,7 @@ array of matrices:
|
|||||||
/* ... */
|
/* ... */
|
||||||
glUniformMatrix4fv(location, count, GL_FALSE, matrix[0][0]);
|
glUniformMatrix4fv(location, count, GL_FALSE, matrix[0][0]);
|
||||||
|
|
||||||
1. Cast matrix to pointer
|
2. Cast matrix to pointer
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
Reference in New Issue
Block a user