mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-22 20:49:58 +01:00
Fix function names
This commit is contained in:
parent
38657e33c1
commit
ad34790ec3
1 changed files with 2 additions and 2 deletions
|
@ -44,10 +44,10 @@ int main()
|
||||||
screen[i] = '.';
|
screen[i] = '.';
|
||||||
|
|
||||||
S3L_Model3D triangleModel; // 3D model representing our triangle
|
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_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
|
// shift the camera a little bit so that we can see the triangle
|
||||||
scene.camera.transform.translation.z = -2 * S3L_FRACTIONS_PER_UNIT;
|
scene.camera.transform.translation.z = -2 * S3L_FRACTIONS_PER_UNIT;
|
||||||
|
|
Loading…
Reference in a new issue