summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_custom_uniform.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/shaders/shaders_custom_uniform.c')
-rw-r--r--examples/web/shaders/shaders_custom_uniform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/shaders/shaders_custom_uniform.c b/examples/web/shaders/shaders_custom_uniform.c
index e574dc4..27fae05 100644
--- a/examples/web/shaders/shaders_custom_uniform.c
+++ b/examples/web/shaders/shaders_custom_uniform.c
@@ -68,7 +68,7 @@ int main(void)
camera.target = (Vector3){ 0.0f, 1.5f, 0.0f };
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f };
camera.fovy = 45.0f;
- camera.type = CAMERA_PERSPECTIVE;
+ camera.projection = CAMERA_PERSPECTIVE;
model = LoadModel("resources/models/barracks.obj"); // Load OBJ model
texture = LoadTexture("resources/models/barracks_diffuse.png"); // Load model texture