Remove test cell in main menu

This commit is contained in:
Dendy 2023-09-30 15:47:39 +02:00
parent c2786fdceb
commit 2b4dbc2875
1 changed files with 2 additions and 9 deletions

View File

@ -5,7 +5,6 @@ const Self = @This();
const colors = @import("color.zig");
color: colors.Color = .{ 0, 0, 0, 0 },
textureTest: Texture,
const max_objects: usize = 16384;
const quadSize: usize = 9 * 6;
@ -13,17 +12,11 @@ const quadSize: usize = 9 * 6;
pub fn init() !Self {
rl.initWindow(1280, 720, "USG", 120);
var renderer = Self{
.textureTest = Texture.init("res/cell.png"),
};
return renderer;
return Self{};
}
pub fn render(self: *Self) void {
//_ = self;
self.textureTest.drawTo(20, 100, 160, 160, colors.pink);
_ = self;
rl.drawFPS(10, 10);
rl.endDrawing();