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

Closed
opened 10 months 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 10 months ago
zedshaw closed this issue 10 months ago
zedshaw reopened this issue 10 months 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 10 months ago
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No project
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

No dependencies set.

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