Dolda2000 GitWeb
/
kaka
/
rust-sdl-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Collide with the walls instead of the grid
[kaka/rust-sdl-test.git]
/
src
/
boll.rs
diff --git
a/src/boll.rs
b/src/boll.rs
index
5d09563
..
07c7b28
100644
(file)
--- a/
src/boll.rs
+++ b/
src/boll.rs
@@
-1,8
+1,7
@@
use core::render::Renderer;
-use sdl2::rect::Rect;
-
-use common::Point;
+use geometry::Point;
use sdl2::gfx::primitives::DrawRenderer;
+use sdl2::rect::Rect;
use {SCREEN_HEIGHT, SCREEN_WIDTH};
pub trait Boll {