Skeleton([List<Bone>? bones, List<Matrix4>? boneInverses]) { this.bones = bones!.sublist(0); this.boneInverses = boneInverses ?? []; init(); }