Selaa lähdekoodia

Change `GetRenderWidth()` to `GetScreenWidth()` for consistency

pull/5635/head
Thomas Prowse 4 päivää sitten
committed by GitHub
vanhempi
commit
a80a05dfb5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      examples/models/models_basic_voxel.c

+ 1
- 1
examples/models/models_basic_voxel.c Näytä tiedosto

@ -137,7 +137,7 @@ int main(void)
EndMode3D();
// Draw reference point for raycasting to delete blocks
DrawCircle(GetRenderWidth()/2, GetScreenHeight()/2, 4, RED);
DrawCircle(GetScreenWidth()/2, GetScreenHeight()/2, 4, RED);
DrawText("Left-click a voxel to remove it!", 10, 10, 20, DARKGRAY);
DrawText("WASD to move, mouse to look around", 10, 35, 10, GRAY);

Ladataan…
Peruuta
Tallenna