feat: zones

This commit is contained in:
Nova
2022-10-20 11:32:12 -04:00
parent 621bf6b82a
commit c42a29a034
16 changed files with 244 additions and 17 deletions

View File

@@ -23,7 +23,7 @@ impl Root {
node.add_local_signal("subscribeLogicStep", Root::subscribe_logic_step);
node.add_local_signal("setBasePrefixes", Root::set_base_prefixes);
let node = node.add_to_scenegraph();
let _ = Spatial::add_to(&node, None, Mat4::IDENTITY);
let _ = Spatial::add_to(&node, None, Mat4::IDENTITY, false);
ROOT_REGISTRY.add(Root {
node,