From e9f12785f96ce8391b230a5263d29e3afdd41f6b Mon Sep 17 00:00:00 2001 From: kayomn Date: Fri, 28 Apr 2023 22:20:46 +0000 Subject: [PATCH] Mark Vector2 as having an ABI defined memory layout --- source/coral/math.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/coral/math.zig b/source/coral/math.zig index 5737634..68c8a44 100644 --- a/source/coral/math.zig +++ b/source/coral/math.zig @@ -20,7 +20,7 @@ pub fn Unsigned(comptime bits: comptime_int) type { }}); } -pub const Vector2 = struct { +pub const Vector2 = extern struct { x: f32, y: f32,