소스 검색

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 });
+}