Trait LdtkLayerExtensions

Source
pub trait LdtkLayerExtensions {
    // Required methods
    fn grid_to_world(&self, x: i32, y: i32) -> Vec2;
    fn px_to_world(&self, position: Vec2) -> Vec2;
}

Required Methods§

Source

fn grid_to_world(&self, x: i32, y: i32) -> Vec2

Source

fn px_to_world(&self, position: Vec2) -> Vec2

Implementors§