Skip to content

Commit 44cd733

Browse files
authored
Update 3dSierpinski-IFS.cpp
Change camera.type to camera.projection
1 parent 8b5d75b commit 44cd733

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

3dSierpinski-IFS.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ void DrawPoint3D(Vector3 pos, Color color) {
2222
rlVertex3f(0.0,0.0,0.0);
2323
rlVertex3f(0.1,0.1,0.0);
2424
rlEnd();
25-
2625
rlPopMatrix();
27-
2826
return;
2927
}
3028

@@ -92,7 +90,7 @@ int main()
9290
camera.target=(Vector3){0.0,0.0,0.0};
9391
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f };
9492
camera.fovy = 60.0f;
95-
camera.type = CAMERA_PERSPECTIVE;
93+
camera.projection = CAMERA_PERSPECTIVE;
9694
SetCameraMode(camera,CAMERA_FREE);
9795
SetTargetFPS(60);
9896

0 commit comments

Comments
 (0)