1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-11-21 20:39:57 +01:00

Fix const warning

This commit is contained in:
Miloslav Číž 2019-06-18 22:39:11 +02:00
parent 242bf42ffc
commit 7b5e75bebb

View file

@ -440,9 +440,9 @@ typedef struct
} S3L_Model3D; ///< Represents a 3D model. } S3L_Model3D; ///< Represents a 3D model.
void S3L_initModel3D( void S3L_initModel3D(
S3L_Unit *vertices, const S3L_Unit *vertices,
S3L_Unit vertexCount, S3L_Unit vertexCount,
S3L_Index *triangles, const S3L_Index *triangles,
S3L_Index triangleCount, S3L_Index triangleCount,
S3L_Model3D *model); S3L_Model3D *model);
@ -1462,9 +1462,9 @@ void S3L_initPixelInfo(S3L_PixelInfo *p) // TODO: maybe non-pointer for p
} }
void S3L_initModel3D( void S3L_initModel3D(
S3L_Unit *vertices, const S3L_Unit *vertices,
S3L_Unit vertexCount, S3L_Unit vertexCount,
S3L_Index *triangles, const S3L_Index *triangles,
S3L_Index triangleCount, S3L_Index triangleCount,
S3L_Model3D *model) S3L_Model3D *model)
{ {