mirror of
https://github.com/recp/cglm.git
synced 2025-12-31 12:47:05 +00:00
Allow passing const float* to make functions.
This commit is contained in:
@@ -180,7 +180,7 @@ Functions documentation
|
||||
Returns:
|
||||
scalar value e.g. Matrix1x1
|
||||
|
||||
.. c:function:: void glm_mat2_make(float * __restrict src, mat2 dest)
|
||||
.. c:function:: void glm_mat2_make(const float * __restrict src, mat2 dest)
|
||||
|
||||
Create mat2 matrix from pointer
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Functions documentation
|
||||
Parameters:
|
||||
| *[in,out]* **mat** matrix
|
||||
|
||||
.. c:function:: void glm_mat2x3_make(float * __restrict src, mat2x3 dest)
|
||||
.. c:function:: void glm_mat2x3_make(const float * __restrict src, mat2x3 dest)
|
||||
|
||||
Create mat2x3 matrix from pointer
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Functions documentation
|
||||
Parameters:
|
||||
| *[in,out]* **mat** matrix
|
||||
|
||||
.. c:function:: void glm_mat2x4_make(float * __restrict src, mat2x4 dest)
|
||||
.. c:function:: void glm_mat2x4_make(const float * __restrict src, mat2x4 dest)
|
||||
|
||||
Create mat2x4 matrix from pointer
|
||||
|
||||
|
||||
@@ -190,7 +190,7 @@ Functions documentation
|
||||
Returns:
|
||||
scalar value e.g. Matrix1x1
|
||||
|
||||
.. c:function:: void glm_mat3_make(float * __restrict src, mat3 dest)
|
||||
.. c:function:: void glm_mat3_make(const float * __restrict src, mat3 dest)
|
||||
|
||||
Create mat3 matrix from pointer
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Functions documentation
|
||||
Parameters:
|
||||
| *[in,out]* **mat** matrix
|
||||
|
||||
.. c:function:: void glm_mat3x2_make(float * __restrict src, mat3x2 dest)
|
||||
.. c:function:: void glm_mat3x2_make(const float * __restrict src, mat3x2 dest)
|
||||
|
||||
Create mat3x2 matrix from pointer
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Functions documentation
|
||||
Parameters:
|
||||
| *[in,out]* **mat** matrix
|
||||
|
||||
.. c:function:: void glm_mat3x4_make(float * __restrict src, mat3x4 dest)
|
||||
.. c:function:: void glm_mat3x4_make(const float * __restrict src, mat3x4 dest)
|
||||
|
||||
Create mat3x4 matrix from pointer
|
||||
|
||||
|
||||
@@ -304,7 +304,7 @@ Functions documentation
|
||||
Returns:
|
||||
scalar value e.g. Matrix1x1
|
||||
|
||||
.. c:function:: void glm_mat4_make(float * __restrict src, mat4 dest)
|
||||
.. c:function:: void glm_mat4_make(const float * __restrict src, mat4 dest)
|
||||
|
||||
Create mat4 matrix from pointer
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Functions documentation
|
||||
Parameters:
|
||||
| *[in,out]* **mat** matrix
|
||||
|
||||
.. c:function:: void glm_mat4x2_make(float * __restrict src, mat4x2 dest)
|
||||
.. c:function:: void glm_mat4x2_make(const float * __restrict src, mat4x2 dest)
|
||||
|
||||
Create mat4x2 matrix from pointer
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Functions documentation
|
||||
Parameters:
|
||||
| *[in,out]* **mat** matrix
|
||||
|
||||
.. c:function:: void glm_mat4x3_make(float * __restrict src, mat4x3 dest)
|
||||
.. c:function:: void glm_mat4x3_make(const float * __restrict src, mat4x3 dest)
|
||||
|
||||
Create mat4x3 matrix from pointer
|
||||
|
||||
|
||||
@@ -422,7 +422,7 @@ Functions documentation
|
||||
| *[in]* **q** quaternion
|
||||
| *[in]* **pivot** pivot
|
||||
|
||||
.. c:function:: void glm_quat_make(float * __restrict src, versor dest)
|
||||
.. c:function:: void glm_quat_make(const float * __restrict src, versor dest)
|
||||
|
||||
Create quaternion from pointer
|
||||
|
||||
|
||||
@@ -385,7 +385,7 @@ Functions documentation
|
||||
| *[in]* **t** interpolant (amount) clamped between 0 and 1
|
||||
| *[out]* **dest** destination
|
||||
|
||||
.. c:function:: void glm_vec2_make(float * __restrict src, vec2 dest)
|
||||
.. c:function:: void glm_vec2_make(const float * __restrict src, vec2 dest)
|
||||
|
||||
Create two dimensional vector from pointer
|
||||
|
||||
|
||||
@@ -503,7 +503,7 @@ Functions documentation
|
||||
| *[in]* **t** interpolant (amount) clamped between 0 and 1
|
||||
| *[out]* **dest** destination
|
||||
|
||||
.. c:function:: void glm_vec3_make(float * __restrict src, vec3 dest)
|
||||
.. c:function:: void glm_vec3_make(const float * __restrict src, vec3 dest)
|
||||
|
||||
Create three dimensional vector from pointer
|
||||
|
||||
|
||||
@@ -415,7 +415,7 @@ Functions documentation
|
||||
| *[in]* **s** parameter
|
||||
| *[out]* **dest** destination
|
||||
|
||||
.. c:function:: void glm_vec4_make(float * __restrict src, vec4 dest)
|
||||
.. c:function:: void glm_vec4_make(const float * __restrict src, vec4 dest)
|
||||
|
||||
Create four dimensional vector from pointer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user