From 628471c53dfe345603d79407fee4a949a814318e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= Date: Sun, 19 May 2024 21:28:11 +0200 Subject: [PATCH] add credit for the rand code --- showcase/carts/space-shooter/src/main.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/showcase/carts/space-shooter/src/main.zig b/showcase/carts/space-shooter/src/main.zig index 8e7cdc1..03e88c8 100644 --- a/showcase/carts/space-shooter/src/main.zig +++ b/showcase/carts/space-shooter/src/main.zig @@ -45,6 +45,7 @@ inline fn rgb565(clr: cart.NeopixelColor) cart.DisplayColor { }; } +// rand implementation "borrowed" from the blobs cart var rand: std.rand.DefaultPrng = undefined; fn rand_float() f32 { const byte_count = 2;