From efa5ba9b24de5289f072f34df96bf63b683925b0 Mon Sep 17 00:00:00 2001 From: Miloslav Ciz Date: Sun, 1 Aug 2021 15:47:23 -0500 Subject: [PATCH] Fix data type --- small3dlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/small3dlib.h b/small3dlib.h index 146b278..3b06cf6 100644 --- a/small3dlib.h +++ b/small3dlib.h @@ -534,7 +534,7 @@ typedef struct void S3L_initModel3D( const S3L_Unit *vertices, - S3L_Unit vertexCount, + S3L_Index vertexCount, const S3L_Index *triangles, S3L_Index triangleCount, S3L_Model3D *model); @@ -1737,7 +1737,7 @@ void S3L_initPixelInfo(S3L_PixelInfo *p) void S3L_initModel3D( const S3L_Unit *vertices, - S3L_Unit vertexCount, + S3L_Index vertexCount, const S3L_Index *triangles, S3L_Index triangleCount, S3L_Model3D *model)