setCameraModelMatrix method
Implementation
@override
Future setCameraModelMatrix(List<double> matrix) async {
assert(matrix.length == 16);
var ptr = allocator<Float>(16);
for (int i = 0; i < 16; i++) {
ptr.elementAt(i).value = matrix[i];
}
set_camera_model_matrix(_viewer!, ptr);
allocator.free(ptr);
}