mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 23:13:13 -04:00
Add time as input to emigui to enable animations
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
mouse_pos: g_mouse_pos,
|
||||
screen_size: { x: window.innerWidth, y: window.innerHeight },
|
||||
pixels_per_point: pixels_per_point(),
|
||||
time: window.performance.now() / 1000.0,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user