Must be computed at init, when moving, editing etc... but not every frame.
A "Dirty" mecanism is needed, maybe could dynamic objects could also benefit from it.
Is invalidate on Instance::setLocalMatrix + OnLoad / OnStart calls enough?
Only for static elements?
Check cache in Instance update and init methods and only "Dirty" in setLocalMatrix calls?
Must be computed at init, when moving, editing etc... but not every frame.
A "Dirty" mecanism is needed, maybe could dynamic objects could also benefit from it.
Is invalidate on Instance::setLocalMatrix + OnLoad / OnStart calls enough?
Only for static elements?
Check cache in Instance update and init methods and only "Dirty" in setLocalMatrix calls?