Refactor initialization and Context struct
I tried to make it a little bit easier to follow and get rid of the need to call back to context.x.y.z (as much) [I hope]
This commit is contained in:
parent
92e82f38f5
commit
30231f1149
8 changed files with 187 additions and 118 deletions
|
|
@ -2,6 +2,8 @@
|
|||
//
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
pub const allocator = std.heap.c_allocator;
|
||||
|
||||
pub const RiverColor = struct {
|
||||
red: u32,
|
||||
green: u32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue