X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fapp.rs;h=4972dfc8d78a3332de9b5505d18f1843af0d2753;hb=787dbfb4e03fdc6c6cfdb153e0e8fab2eb3ab2d1;hp=c8f8665cb63b759c174df73ac214474e197868ba;hpb=95e3e10de390930a0f26317dae544f4a2c1bda2e;p=kaka%2Frust-sdl-test.git diff --git a/src/app.rs b/src/app.rs index c8f8665..4972dfc 100644 --- a/src/app.rs +++ b/src/app.rs @@ -12,10 +12,7 @@ use boll::*; use common::Point2D; use sprites::SpriteManager; use NS_PER_FRAME; - -macro_rules! point { // because I don't know how to import it from common.rs ... - ( $x:expr, $y:expr ) => { Point2D { x:$x, y:$y } }; -} +use point; // defined in common, but loaded from main... pub type Nanoseconds = u64;