ImmutableOctet / glare

Glare: Open Source Game Engine written in Modern C++
MIT License
0 stars 0 forks source link

Look into pros and cons of handling TransformComponent using value semantics/entt's patch #46

Open ImmutableOctet opened 1 year ago

ImmutableOctet commented 1 year ago

We currently use direct pointers to the transformation component since it's faster than a copy. We could definitely still avoid copies with a patch based approach.

One side effect of our current approach is that we currently handle transform-change events manually.