You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To achieve that, I believe we only need to make zflecs.zig a top-level struct of type World, but also keep non-world static functions like fn field and other constants.
World would hold the pointer to world_t.
Is this desired direction zflecs should head in?
The text was updated successfully, but these errors were encountered:
In zig-gamedev/zig-gamedev#261, in regards to the zflecs style @michal-z said
I believe we can achieve both in most (if not all) cases.
For example,
We can keep both as the ziggified style only requires duplicating
fn field
into theiter_t
struct.Another example,
To achieve that, I believe we only need to make
zflecs.zig
a top-level struct of typeWorld
, but also keep non-world static functions likefn field
and other constants.World
would hold the pointer toworld_t
.Is this desired direction zflecs should head in?
The text was updated successfully, but these errors were encountered: