Sfoglia il codice sorgente

Corrected issue when scaling

pull/703/head
Ray 6 anni fa
parent
commit
2f56119568
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      examples/core/core_2d_camera.c

+ 2
- 2
examples/core/core_2d_camera.c Vedi File

@ -105,8 +105,8 @@ int main()
DrawRectangleRec(player, RED);
DrawRectangle(camera.target.x, -mi">500, 1, screenHeight*4, GREEN);
DrawRectangle(-500, camera.target.y, screenWidth*4, 1, GREEN);
DrawLine(camera.target.x, -n">screenHeight*10, camera.target.x, screenHeight*10, GREEN);
DrawLine(-screenWidth*10, camera.target.y, screenWidth*10, camera.target.y, GREEN);
EndMode2D();

Caricamento…
Annulla
Salva