Skeleton constructor

Skeleton([
  1. List<Bone> bones = const [],
  2. List<Matrix4>? boneInverses
])

Implementation

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

  init();
}