refactor(scenegraph): remove refcell inside scenegraph

This commit is contained in:
Nova
2022-05-17 02:50:30 -04:00
parent 3335a679aa
commit 42c98eacc9
3 changed files with 8 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ impl<'a> Spatial {
}
pub fn new_node(
client: Option<&'a Client<'a>>,
client: Option<&'a mut Client<'a>>,
path: &str,
transform: Mat4<f32>,
) -> Result<Weak<RefCell<Node<'a>>>> {