|
|
|
|
|
by UK-AL
5121 days ago
|
|
I don't get it, what's oo got to do with storing entities in column major storage. Store the objects in a 2d array. Normally you don't even store entities like that, I've seen all sorts of crazy data structures, such as storing them spatially, so you can ignore visual updates. Or am I completely not getting what your saying here... |
|
So instead of:
One prefers: A physics engine updating locations and velocities won't waste cache on redundant information (like foo) in this case.There was an excellent presentation (from some games conference) on this topic posted here on HN a few years ago, but I can't find it easily.