This commit is contained in:
bronku 2026-02-15 20:55:30 +01:00
commit 37febeafc3
4 changed files with 329 additions and 0 deletions

12
src/main.rs Normal file
View file

@ -0,0 +1,12 @@
use raylib::prelude::*;
fn main() {
let (mut rl, thread) = raylib::init().size(640, 480).title("Hello, World").build();
while !rl.window_should_close() {
let mut d = rl.begin_drawing(&thread);
d.clear_background(Color::WHITE);
d.draw_text("Hello, world!", 12, 12, 20, Color::BLACK);
}
}