Add 'const' to pointer parameters

This commit is contained in:
Petar Popovic
2025-02-21 23:55:14 +01:00
committed by Sam Lantinga
parent 911e53dece
commit b5297de56f
6 changed files with 12 additions and 12 deletions

View File

@@ -152,7 +152,7 @@ perspective_matrix(float fovy, float aspect, float znear, float zfar, float *r)
* major. In-place multiplication is supported.
*/
static void
multiply_matrix(float *lhs, float *rhs, float *r)
multiply_matrix(const float *lhs, const float *rhs, float *r)
{
int i, j, k;
float tmp[16];