noise icon indicating copy to clipboard operation
noise copied to clipboard

Terrace.controlPoints() should not return the raw backing array

Open zml2008 opened this issue 2 years ago • 0 comments

Unfortunately, Java can only expose mutable arrays at the moment, and we don't want to allow our internal state to be exposed like this.

Alternatives are:

  • provide a DoubleStream
  • add Terrace.controlPoint(index)
  • maybe both?

zml2008 avatar Feb 04 '22 05:02 zml2008