paddle 0.1.0-beta.1

2D Game Engine for Rust on the Web
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(debug_assertions)]
macro_rules! debug_println {
    ( $( $t:tt )* ) => {
        web_sys::console::log_1(&format!( $( $t )* ).into());
    }
}

#[cfg(not(debug_assertions))]
macro_rules! debug_println {
    ( $( $t:tt )* ) => {};
}