In rayview.cpp::sprite_casting I can probably change $sprites to not hold SpriteTexture #42

Closed
opened 3 weeks ago by zedshaw · 1 comments
Owner

One of the reasons I have to do weird updates is because I'm holding a copy of the SpriteTexture inside rayview, but I can probably just reference its sprite id from textures.cpp and load it each render. Most likely about the same speed and would mean no updates needed.

One of the reasons I have to do weird updates is because I'm holding a copy of the SpriteTexture inside rayview, but I can probably just reference its sprite id from textures.cpp and load it each render. Most likely about the same speed and would mean no updates needed.
zedshaw self-assigned this 3 weeks ago
zedshaw closed this issue 3 weeks ago
zedshaw reopened this issue 3 weeks ago
Poster
Owner

Actually, this is a dumb idea. Just update the sprites instead for now until I can sort out another way to do it.

Actually, this is a dumb idea. Just update the sprites instead for now until I can sort out another way to do it.
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#42
Loading…
There is no content yet.