News for hackers. Stuff that matters.
Re:EnTT: Gaming meets modern C++ 3.9 (ECS library and much m... by ShrigmaMale on Wednesday December 22, 2021 @12:27AM (#29645883)
Maybe for ECS newbie, please say more on how you would approach this problem?
Re:EnTT: Gaming meets modern C++ 3.9 (ECS library and much m... by jayd16 on Wednesday December 22, 2021 @02:14AM (#29646375)
ECS is closer to the second way that was described. Data is represented as arrays of structs (referred to as components), similar to what was described. Systems can mutate or read these structs.

A physics system might change the position components while a decoupled rendering system might read that position components and the rendering details components to add draw commands.