瀏覽代碼

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

pull/5635/head
Thomas Prowse 5 天之前
committed by GitHub
父節點
當前提交
a80a05dfb5
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      examples/models/models_basic_voxel.c

+ 1
- 1
examples/models/models_basic_voxel.c 查看文件

@ -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…
取消
儲存