瀏覽代碼

Update core_3d_fps_controller.c

Agnis Aldiņš "NeZvērs 2 月之前
父節點
當前提交
4233544670
共有 1 個文件被更改,包括 3 次插入1 次删除
  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 });
+}