You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there is one AnimObject that encompasses several different types of objects, and one Animation structure which encompasses several different kinds of animations. Also, the data is stored in unordered_maps which means iterating through the data is extremely slow.
Switch to a flat data layout, like an ECS, and remove the hierarchical structure in favor of a component based structure. This should speed things up with larger scenes and it should also make the code much more manageable.
The text was updated successfully, but these errors were encountered:
Right now there is one AnimObject that encompasses several different types of objects, and one Animation structure which encompasses several different kinds of animations. Also, the data is stored in unordered_maps which means iterating through the data is extremely slow.
Switch to a flat data layout, like an ECS, and remove the hierarchical structure in favor of a component based structure. This should speed things up with larger scenes and it should also make the code much more manageable.
The text was updated successfully, but these errors were encountered: