Use SpriteTexture.dim in rayview to replace the hard coded TEXTURE_WIDTH/HEIGHT #43

Closed
opened 2025-06-27 04:23:17 +00:00 by zedshaw · 1 comment
zedshaw commented 2025-06-27 04:23:17 +00:00 (Migrated from lcthw.dev)

Once I store the established frame dimensions in SpriteTexture, and once I'm using the SpriteTexture each render cycle, I can just use the frame dimensions there instead of using a hard coded constant.

Once I store the established frame dimensions in SpriteTexture, and once I'm using the SpriteTexture each render cycle, I can just use the frame dimensions there instead of using a hard coded constant.
zedshaw commented 2025-06-30 15:00:41 +00:00 (Migrated from lcthw.dev)

Accidentally closed #42 with this one.

Accidentally closed #42 with this one.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: games/raycaster#43
No description provided.