@@ -519,7 +519,7 @@ RLAPI void rlLoadIdentity(void); // Reset current matrix to
519
519
RLAPI void rlTranslatef (float x , float y , float z ); // Multiply the current matrix by a translation matrix
520
520
RLAPI void rlRotatef (float angle , float x , float y , float z ); // Multiply the current matrix by a rotation matrix
521
521
RLAPI void rlScalef (float x , float y , float z ); // Multiply the current matrix by a scaling matrix
522
- RLAPI void rlMultMatrixf (float * matf ); // Multiply the current matrix by another matrix
522
+ RLAPI void rlMultMatrixf (const float * matf ); // Multiply the current matrix by another matrix
523
523
RLAPI void rlFrustum (double left , double right , double bottom , double top , double znear , double zfar );
524
524
RLAPI void rlOrtho (double left , double right , double bottom , double top , double znear , double zfar );
525
525
RLAPI void rlViewport (int x , int y , int width , int height ); // Set the viewport area
@@ -1048,7 +1048,7 @@ void rlLoadIdentity(void) { glLoadIdentity(); }
1048
1048
void rlTranslatef (float x , float y , float z ) { glTranslatef (x , y , z ); }
1049
1049
void rlRotatef (float angle , float x , float y , float z ) { glRotatef (angle , x , y , z ); }
1050
1050
void rlScalef (float x , float y , float z ) { glScalef (x , y , z ); }
1051
- void rlMultMatrixf (float * matf ) { glMultMatrixf (matf ); }
1051
+ void rlMultMatrixf (const float * matf ) { glMultMatrixf (matf ); }
1052
1052
#endif
1053
1053
#if defined(GRAPHICS_API_OPENGL_33 ) || defined(GRAPHICS_API_OPENGL_ES2 )
1054
1054
// Choose the current matrix to be transformed
@@ -1173,7 +1173,7 @@ void rlScalef(float x, float y, float z)
1173
1173
}
1174
1174
1175
1175
// Multiply the current matrix by another matrix
1176
- void rlMultMatrixf (float * matf )
1176
+ void rlMultMatrixf (const float * matf )
1177
1177
{
1178
1178
// Matrix creation from array
1179
1179
Matrix mat = { matf [0 ], matf [4 ], matf [8 ], matf [12 ],
0 commit comments