primary pointer is the one that was last clicked

This commit is contained in:
galister
2024-02-04 15:51:09 +01:00
parent 82f53e6668
commit 6bc708714c
2 changed files with 19 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
use std::f32::consts::PI;
use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::Arc;
use std::thread::sleep;
use std::time::Duration;
use glam::{Affine3A, Vec3, Vec3A, Vec4};
use idmap::IdMap;
@@ -81,6 +83,8 @@ impl LinePool {
};
data.data.sort_order = 69;
sleep(Duration::from_millis(50));
data.initialize(overlay, app);
data.upload_texture(overlay, &app.graphics);