RENAMED: camera.type -> camera.projection

This commit is contained in:
Ray 2021-03-19 20:14:14 +01:00
parent 9909068714
commit be8d5a7ae2
7 changed files with 7 additions and 7 deletions

View file

@ -42,7 +42,7 @@ int main(void)
camera.target = (Vector3){ 0.0f, 0.0f, 0.0f };
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f };
camera.fovy = 45.0f;
camera.type = CAMERA_PERSPECTIVE;
camera.projection = CAMERA_PERSPECTIVE;
// Define our three models to show the shader on
Mesh torus = GenMeshTorus(.3, 1, 16, 32);