diff options
| author | Ray <[email protected]> | 2021-04-26 00:36:22 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-04-26 00:36:22 +0200 |
| commit | bb3303338979dde40168928efc6ea31ed776407d (patch) | |
| tree | 3c9e4652db2f54240655a39202dd73c06520034b /examples/shaders/shaders_basic_lighting.c | |
| parent | a44815e9395e63644e4adeac928155f1e465aed7 (diff) | |
| parent | 30db611e924ad2ad61137a944a0da4257045cd5f (diff) | |
| download | raylib-bb3303338979dde40168928efc6ea31ed776407d.tar.gz raylib-bb3303338979dde40168928efc6ea31ed776407d.zip | |
Merge branch 'master' of https://github.com/raysan5/raylib
Diffstat (limited to 'examples/shaders/shaders_basic_lighting.c')
| -rw-r--r-- | examples/shaders/shaders_basic_lighting.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shaders/shaders_basic_lighting.c b/examples/shaders/shaders_basic_lighting.c index c7e43b0c..6ef09e4a 100644 --- a/examples/shaders/shaders_basic_lighting.c +++ b/examples/shaders/shaders_basic_lighting.c @@ -146,8 +146,8 @@ int main(void) // Draw the three models DrawModel(modelA, Vector3Zero(), 1.0f, WHITE); - DrawModel(modelB, (Vector3){-1.6,0,0}, 1.0f, WHITE); - DrawModel(modelC, (Vector3){ 1.6,0,0}, 1.0f, WHITE); + DrawModel(modelB, (Vector3){-1.6f,0.0f,0.0f}, 1.0f, WHITE); + DrawModel(modelC, (Vector3){ 1.6f,0.0f,0.0f}, 1.0f, WHITE); // Draw markers to show where the lights are if (lights[0].enabled) { DrawSphereEx(lights[0].position, 0.2f, 8, 8, WHITE); } |
