|
|
|
|
|
by sharpneli
4189 days ago
|
|
That's the point of intrusive lists. You add a pair of pointers for every list the object is in. So when you do your physics pass using the "moving objects" list the value of the bullet is automatically updated in the "renderable objects" list without having to go trough renderable objects separately. It was explained in the original article "If you want your structure to be in two lists at the same time, you have to add another field: " with an example. |
|
I just wanted to spell out that in most use cases intrusion is a sucky trade-off with no benefit.