summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_heightmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/models/models_heightmap.c')
-rw-r--r--examples/models/models_heightmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_heightmap.c b/examples/models/models_heightmap.c
index e476d1b7..55474185 100644
--- a/examples/models/models_heightmap.c
+++ b/examples/models/models_heightmap.c
@@ -21,7 +21,7 @@ int main()
InitWindow(screenWidth, screenHeight, "raylib [models] example - heightmap loading and drawing");
// Define our custom camera to look into our 3d world
- Camera camera = {{ 18.0f, 16.0f, 18.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f }, 45.0f };
+ Camera camera = {{ 18.0f, 16.0f, 18.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f }, 45.0f, 0 };
Image image = LoadImage("resources/heightmap.png"); // Load heightmap image (RAM)
Texture2D texture = LoadTextureFromImage(image); // Convert image to texture (VRAM)