예제 #1
0
        public static IBone2 NewRoot(float relativeDeg)
        {
            var root = new Bone2(null, 0);

            root.Transform.RelativeDeg = relativeDeg;
            return(root);
        }
예제 #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);
        }