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