In rayview.cpp::sprite_casting I can probably change $sprites to not hold SpriteTexture #42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Actually, this is a dumb idea. Just update the sprites instead for now until I can sort out another way to do it.