Sfoglia il codice sorgente

Update core_3d_fps_controller.c

Agnis Aldiņš "NeZvērs 2 mesi fa
parent
commit
4233544670
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      examples/core/core_3d_fps_controller.c

+ 3 - 1
examples/core/core_3d_fps_controller.c

@@ -356,5 +356,7 @@ void DrawLevel()
     towerPos.x *= -1;
     DrawCubeV(towerPos, towerSize, towerColor);
     DrawCubeWiresV(towerPos, towerSize, DARKBLUE);
-}
 
+    // Red sun
+    DrawSphere((Vector3) { 300.f, 300.f, 0.f }, 100.f, (Color) { 255, 0, 0, 255 });
+}