public static IBone2 NewRoot(float relativeDeg) { var root = new Bone2(null, 0); root.Transform.RelativeDeg = relativeDeg; return(root); }
public IBone2 AddChild( float length, float relativeDeg) { var child = new Bone2(this, length); child.Transform.RelativeDeg = relativeDeg; this.children_.Add(child); return(child); }