Browse Source

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

pull/5635/head
Thomas Prowse 4 days ago
committed by GitHub
parent
commit
a80a05dfb5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/models/models_basic_voxel.c

+ 1
- 1
examples/models/models_basic_voxel.c View File

@ -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);

Loading…
Cancel
Save