diff options
| author | raysan5 <raysan5@gmail.com> | 2016-03-05 13:05:45 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-03-05 13:05:45 +0100 |
| commit | d8bd8634ab7d5179cb1481206176af1f8e592e75 (patch) | |
| tree | 1b22e39d70514808acbef6f7b2dcd2d5a50f3346 /examples/models_heightmap.c | |
| parent | dcbf2a0e0c904870ac3ac59a3623a3954ab0243f (diff) | |
| download | raylib-d8bd8634ab7d5179cb1481206176af1f8e592e75.tar.gz raylib-d8bd8634ab7d5179cb1481206176af1f8e592e75.zip | |
3d Camera: Added support for field-of-view Y
Diffstat (limited to 'examples/models_heightmap.c')
| -rw-r--r-- | examples/models_heightmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models_heightmap.c b/examples/models_heightmap.c index f1da3301..c8e5ff35 100644 --- a/examples/models_heightmap.c +++ b/examples/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 }}; + Camera camera = {{ 18.0f, 16.0f, 18.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f }, 45.0f }; Image image = LoadImage("resources/heightmap.png"); // Load heightmap image (RAM) Texture2D texture = LoadTextureFromImage(image); // Convert image to texture (VRAM) |
