Bone bone = new Bone(id, aiBone.mName().dataString(), toMatrix(aiBone.mOffsetMatrix())); boneList.add(bone); int numWeights = aiBone.mNumWeights(); AIVertexWeight.Buffer aiWeights = aiBone.mWeights(); for (int j = 0; j < numWeights; j++) {
Bone bone = new Bone(id, aiBone.mName().dataString(), toMatrix(aiBone.mOffsetMatrix())); boneList.add(bone); int numWeights = aiBone.mNumWeights(); AIVertexWeight.Buffer aiWeights = aiBone.mWeights(); for (int j = 0; j < numWeights; j++) {