Fix display transformation and star generation for fullscreen mode.

This commit is contained in:
2026-03-16 21:49:02 +01:00
parent 7cc8524811
commit 2e5e37b0a5
3 changed files with 21 additions and 10 deletions

View File

@@ -24,5 +24,7 @@
* @param camera_x The x position of the camera center.
* @param camera_y The y position of the camera center.
* @param zoom The zoom level (scale factor).
* @param width The display width in pixels.
* @param height The display height in pixels.
*/
void starfield_draw(float camera_x, float camera_y, float zoom);
void starfield_draw(float camera_x, float camera_y, float zoom, float width, float height);