Fix examples

This commit is contained in:
Nikolas 2026-04-03 20:58:36 +02:00
parent 01869ab291
commit 9d9daa7127
Failed to generate hash of commit
2 changed files with 7 additions and 10 deletions

View file

@ -41,10 +41,7 @@ const Light = extern struct {
type: Type = .directional,
enabled: bool = false,
_enabled_pad1: u8 = 0,
_enabled_pad2: @Type(.{.int = .{
.signedness = .unsigned,
.bits = @bitSizeOf(c_uint) - 16,
}}) = 0,
_enabled_pad2: @Int(.unsigned, @bitSizeOf(c_uint) - 16) = 0,
position: rl.Vector3 = .init(0, 0, 0),
target: rl.Vector3 = .init(0, 0, 0),
color: [4]f32 = .{ 0, 0, 0, 0 },