mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-20 14:03:40 -04:00
Change GetRenderWidth() to GetScreenWidth() for consistency (#5635)
This commit is contained in:
@ -137,7 +137,7 @@ int main(void)
|
|||||||
EndMode3D();
|
EndMode3D();
|
||||||
|
|
||||||
// Draw reference point for raycasting to delete blocks
|
// 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("Left-click a voxel to remove it!", 10, 10, 20, DARKGRAY);
|
||||||
DrawText("WASD to move, mouse to look around", 10, 35, 10, GRAY);
|
DrawText("WASD to move, mouse to look around", 10, 35, 10, GRAY);
|
||||||
|
|||||||
Reference in New Issue
Block a user