mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-15 12:15:01 +01:00
Console, experimental tile graphic for continuous tiles
This commit is contained in:
parent
8ee0c9d535
commit
4dfb0ff7d7
12 changed files with 201 additions and 23 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue