feat: add additional commands for entity manipulation in the bridge

This commit is contained in:
MayaTheShy
2025-11-08 20:37:48 -05:00
parent 525c068855
commit e7f529e7e1

View File

@@ -34,6 +34,11 @@ impl Default for BridgeState {
enum Command {
Create { c_id: u64, name: String, transform: Mat4 },
Update { c_id: u64, transform: Mat4 },
SetModel { c_id: u64, model_url: String },
SetTexture { c_id: u64, texture_url: String },
SetColor { c_id: u64, color: [f32; 4] }, // RGBA
SetDimensions { c_id: u64, dimensions: [f32; 3] },
SetEntityType { c_id: u64, entity_type: u8 },
Remove { c_id: u64 },
Shutdown,
}