Exemplo n.º 1
0
        public static IBone2 NewRoot(float relativeDeg)
        {
            var root = new Bone2(null, 0);

            root.Transform.RelativeDeg = relativeDeg;
            return(root);
        }
Exemplo n.º 2
0
        public IBone2 AddChild(
            float length,
            float relativeDeg)
        {
            var child = new Bone2(this, length);

            child.Transform.RelativeDeg = relativeDeg;

            this.children_.Add(child);

            return(child);
        }