Skip to content

Commit

Permalink
Remove comment NodeHasParent trait.
Browse files Browse the repository at this point in the history
The Trait is no longer needed. All parenting information is stored
in the SceneGraph, not at the node level.

Issue #114
  • Loading branch information
david-cattermole committed Dec 28, 2021
1 parent 2ac8a01 commit 827b8df
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/mmscenegraph/rust/src/node/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ pub trait NodeHasWeight {
fn set_attr_weight(&mut self, attr: AttrId);
}

// // Can the object be parented?
// pub trait NodeHasParent {
// fn get_parent_node_id(&self) -> NodeId;
// fn set_parent_node_id(&mut self, id: NodeId);
// }

pub trait NodeCanViewScene {
fn get_attr_sensor_width(&self) -> AttrId;
fn get_attr_sensor_height(&self) -> AttrId;
Expand Down

0 comments on commit 827b8df

Please sign in to comment.