Add some world defs

This commit is contained in:
crumblingstatue 2023-04-01 20:12:09 +02:00
parent 608f8f9f9f
commit d78726eb5b
6 changed files with 61 additions and 0 deletions

6
src/math.rs Normal file
View file

@ -0,0 +1,6 @@
pub type WorldPosScalar = i32;
pub struct WorldPos {
x: WorldPosScalar,
y: WorldPosScalar,
}