mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-15 20:25:00 +01:00
Add some world defs
This commit is contained in:
parent
608f8f9f9f
commit
d78726eb5b
6 changed files with 61 additions and 0 deletions
6
src/math.rs
Normal file
6
src/math.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
pub type WorldPosScalar = i32;
|
||||
|
||||
pub struct WorldPos {
|
||||
x: WorldPosScalar,
|
||||
y: WorldPosScalar,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue