calculateInverses method

void calculateInverses()

Implementation

void calculateInverses() {
  boneInverses.length = 0;
  boneInverses.clear();

  for (var i = 0, il = bones.length; i < il; i++) {
    var inverse = Matrix4();

    inverse.copy(bones[i].matrixWorld).invert();
    boneInverses.add(inverse);
  }
}