Exemple #1
0
        //double[,] positionXYZ = new double[3,1];//[3]

        public void setting(Boolean endsite, String name, MocapNode parent, double offsetX, double offsetY, double offsetZ)
        {
            this.isEndsite = endsite;
            this.name      = name;
            this.parent    = parent;
            this.offsetX   = offsetX;
            this.offsetY   = offsetY;
            this.offsetZ   = offsetZ;
            if (parent == null)
            {
                this.x = offsetX;
                this.y = offsetY;
                this.z = offsetZ;
            }
            else
            {
                this.x = parent.x + offsetX;
                this.y = parent.y + offsetY;
                this.z = parent.z + offsetZ;
            }
        }
Exemple #2
0
 public static void MocapNode_loadXYZ_sub(ref double[] j, ref MocapNode n)
 {
     j[0] = n.x;
     j[1] = n.y;
     j[2] = n.z;
 }
Exemple #3
0
 public void addChild(MocapNode m)
 {
     childIndex++;
 }