Console, experimental tile graphic for continuous tiles

This commit is contained in:
crumblingstatue 2023-04-16 01:03:12 +02:00
parent 8ee0c9d535
commit 4dfb0ff7d7
12 changed files with 201 additions and 23 deletions

View file

@ -50,6 +50,13 @@ impl WorldPos {
x: Self::CENTER,
y: Self::SURFACE,
};
pub(crate) fn to_s2dc(self) -> s2dc::Vec2 {
s2dc::Vec2 {
x: self.x as i32,
y: self.y as i32,
}
}
}
pub fn wp_to_tp(wp: WPosSc) -> TPosSc {