mirror of
https://github.com/GayPizzaSpecifications/cxx-swift-interop.git
synced 2026-11-04 22:12:20 +00:00
minor improvements
This commit is contained in:
1 parent
77603b582c
commit
3a7afe366b
3 files changed
+5
-7
No files matched your search
@@ -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
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user