sortReset method

void sortReset(
  1. List<Bone> bones
)
inherited

Implementation

void sortReset(List<Bone> bones) {
  final int n = bones.length;
  for (int i = 0; i < n; i++) {
    final Bone bone = bones[i];
    if (bone.sorted) sortReset(bone.children);
    bone.sorted = false;
  }
}