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

Closed
opened 3 weeks ago by zedshaw · 1 comments
Owner

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 self-assigned this 3 weeks ago
Poster
Owner

Accidentally closed #42 with this one.

Accidentally closed #42 with this one.
zedshaw closed this issue 3 weeks ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: learn-code-the-hard-way/raycaster#43
Loading…
There is no content yet.