Fix examples
This commit is contained in:
parent
01869ab291
commit
9d9daa7127
2 changed files with 7 additions and 10 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue