toBuffer method

StringBuffer toBuffer()

Called by: next method, saveToGLB title + _matrix + footer saved to buf.

Implementation

StringBuffer toBuffer() {
  StringBuffer boo = StringBuffer();
  boo.writeln(title);
  for (var x in _matrix) {
    boo.writeln(x);
  }
  boo.writeln(footer);
  return boo;
}