minor improvements

This commit is contained in:
a_dinosaur committed 2024-09-22 01:04:59 +10:00
1 parent 77603b582c
commit 3a7afe366b
3 files changed
+5 -7

No files matched your search

+2 -2
View File
@@ -82,8 +82,8 @@ class Application {
for ball in balls.balls {
let position = ball.position(), size = ball.size()
var rect = SDL_FRect(
x: position.pointee.x - size,
y: position.pointee.y - size,
x: position.x - size,
y: position.y - size,
w: size * 2.0,
h: size * 2.0
)