str function

String str(
  1. List<double> a
)

Returns a string representation of a mat4

@param {ReadonlyMat4} a matrix to represent as a string @returns {String} string representation of the matrix

Implementation

String str(List<double> a) {
  return """mat4("${a[0]}", "${a[1]}", "${a[2]}", "${a[3]}", "${a[4]}", "${a[5]}", "${a[6]}", "${a[7]}", "${a[8]}", "${a[9]}", "${a[10]}", "${a[11]}", "${a[12]}", "${a[13]}", "${a[14]}", "${a[15]}")""";
}