In rayview.cpp::sprite_casting I can probably change $sprites to not hold SpriteTexture #42
Closed
opened 2 months ago by zedshaw
·
1 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. 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.