Add reminder to reconsider global element serials

This commit is contained in:
Aaron Fenyes 2024-11-21 16:03:58 -08:00
parent b0bd31a9da
commit c5f09b99b3

View File

@ -13,6 +13,11 @@ pub type ConstraintKey = usize;
pub type ElementColor = [f32; 3];
/* KLUDGE */
// we should reconsider this design when we build a system for switching between
// assemblies. at that point, we might want to switch to hierarchical keys,
// where each each element has a key that identifies it within its assembly and
// each assembly has a key that identifies it within the sesssion
static NEXT_ELEMENT_SERIAL: AtomicU64 = AtomicU64::new(0);
#[derive(Clone, PartialEq)]