From ad34790ec3a051b6bea0c5748fd0dff64fd97c50 Mon Sep 17 00:00:00 2001 From: Miloslav Ciz Date: Sun, 6 Mar 2022 14:45:15 +0100 Subject: [PATCH] Fix function names --- programs/helloWorld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/helloWorld.c b/programs/helloWorld.c index 4298137..3951a66 100644 --- a/programs/helloWorld.c +++ b/programs/helloWorld.c @@ -44,10 +44,10 @@ int main() screen[i] = '.'; S3L_Model3D triangleModel; // 3D model representing our triangle - S3L_initModel3D(triangleVertices,9,triangleTriangles,1,&triangleModel); + S3L_model3DInit(triangleVertices,9,triangleTriangles,1,&triangleModel); S3L_Scene scene; // scene of 3D models (we only have 1) - S3L_initScene(&triangleModel,1,&scene); + S3L_sceneInit(&triangleModel,1,&scene); // shift the camera a little bit so that we can see the triangle scene.camera.transform.translation.z = -2 * S3L_FRACTIONS_PER_UNIT;