Example #1
0
        private Pivot readBone()
        {
            Pivot bone = new Pivot();

            MeshLoader.AddBone(bone);

            while (chunkSize() > 0)
            {
                int   vert   = readInt();
                float weight = readFloat();
                bone.Vertex = vert;
                bone.Weight = weight;
            }
            return(bone);
        }