examples: make sure some structs has guaranteed in-memory layout
This commit is contained in:
parent
4e47477e9a
commit
288299b88b
13 changed files with 14 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
|||
pub const Vertex = struct {
|
||||
pub const Vertex = extern struct {
|
||||
pos: @Vector(3, f32),
|
||||
normal: @Vector(3, f32),
|
||||
uv: @Vector(2, f32),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue