-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
contributor friendlythis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomersthis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomersrefactorshuffle code aroundshuffle code around
Milestone
Description
They don't have a guaranteed memory layout, see ziglang/zig#24179 (comment)
this is a requirement for #1583
Problematic places:
-
QuadInfo
inmodels.zig
-
ChunkData
inchunk_meshing.zig
-
Particle
inparticles.zig
(this one is even missing the extern declaration)
I think the best solution for now is probably just to use e.g. align(16) [3]f32
instead of Vec3f
and coerce them in all use-cases
Metadata
Metadata
Assignees
Labels
contributor friendlythis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomersthis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomersrefactorshuffle code aroundshuffle code around