fromMatrix function
Implementation
List<Vector2> fromMatrix(Matrix input) {
List<Vector2> output = [];
for (var row in input) {
output.add(Vector2(row.elementAt(0), row.elementAt(1)));
}
return output;
}
List<Vector2> fromMatrix(Matrix input) {
List<Vector2> output = [];
for (var row in input) {
output.add(Vector2(row.elementAt(0), row.elementAt(1)));
}
return output;
}