Skeleton constructor
bones - The array of bones. Default is an empty
array.
boneInverses - (optional) An array of Matrix4s.
Creates a new name.
Implementation
Skeleton([List<Bone>? bones, List<Matrix4>? boneInverses]) {
this.bones = bones!.sublist(0);
this.boneInverses = boneInverses ?? [];
init();
}