feat(node): add basic spatial aspect

This commit is contained in:
Nova
2022-05-17 00:27:46 -04:00
parent 5157ff84cd
commit c64db257d2
3 changed files with 30 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
use super::core::Node;
pub struct Spatial<'a> {
node: &'a Node<'a>,
}
impl<'a> Spatial<'a> {
pub fn new(node: &'a Node<'a>) -> Self {
Spatial { node }
}
}