@JSExport() JSPromise rotateIbl(JSArray<JSNumber> rotation) { var matrix = Matrix3.fromList(rotation.toDart.map((v) => v.toDartDouble).toList()); return viewer.rotateIbl(matrix).toJS; }