...
This commit is contained in:
@@ -23,7 +23,8 @@ extern "main" func main(argc: i64, argv: [?]cstring): i64
|
||||
let bgColor: raylib::Color = { r = 0 g = 0 b = 0 a = 255 }
|
||||
let color: raylib::Color = { r = 255 g = 255 b = 255 a = 255 }
|
||||
|
||||
while !raylib::WindowShouldClose() {
|
||||
while !raylib::WindowShouldClose()
|
||||
{
|
||||
if x <= 0 {
|
||||
direction.x = 1
|
||||
} else if x + width >= raylib::GetScreenWidth() {
|
||||
|
||||
Reference in New Issue
Block a user