summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/shaders_basic_lighting.c
diff options
context:
space:
mode:
authorJeffery Myers <[email protected]>2021-04-25 09:50:26 -0700
committerGitHub <[email protected]>2021-04-25 18:50:26 +0200
commit6c518008a58853197890b45e941f342e4195de60 (patch)
tree429e12c1ee0c6206c69c7a93c7726aa3ab3d533b /examples/shaders/shaders_basic_lighting.c
parent87198586554e218834542098ec40e6611452c3aa (diff)
downloadraylib-6c518008a58853197890b45e941f342e4195de60.tar.gz
raylib-6c518008a58853197890b45e941f342e4195de60.zip
Fixes for 64 bit typecast warnings (#1733)
Diffstat (limited to 'examples/shaders/shaders_basic_lighting.c')
-rw-r--r--examples/shaders/shaders_basic_lighting.c4
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); }