minor improvements

This commit is contained in:
2024-09-22 01:04:59 +10:00
parent 77603b582c
commit 3a7afe366b
3 changed files with 5 additions and 7 deletions

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
)