toJson method

  1. @override
List toJson(
  1. Matrix4 matrix
)

Implementation

@override
List<dynamic> toJson(Matrix4 matrix) {
  final list = List<double>.filled(16, 0.0);
  matrix.copyIntoArray(list);
  return list;
}