mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 12:25:02 +01:00
Add basic block selection with mouse
This commit is contained in:
parent
98965a8c86
commit
f07bd9c713
4 changed files with 66 additions and 26 deletions
|
|
@ -21,6 +21,7 @@ impl ScreenRes {
|
|||
}
|
||||
|
||||
// We assume this game won't be played above 32767*32767 resolution
|
||||
#[derive(Default, Clone, Copy)]
|
||||
pub struct ScreenPos {
|
||||
pub x: ScreenPosScalar,
|
||||
pub y: ScreenPosScalar,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue