maath icon indicating copy to clipboard operation
maath copied to clipboard

RFC Buffer API

Open gsimone opened this issue 4 years ago • 0 comments

Right now most buffer methods require manual passing of the stride of the buffer (eg. if it's a 2D points buffer or a 3D one).

An alternative approach would be to make 2 separate buffer entry points ( buffer2D, buffer3D ) but that feels overkill.

Composing buffers right now is confusing as you end up with a lot of stride repetition.

Babel macros might be an option, but that feels forced.

gsimone avatar Nov 07 '21 22:11 gsimone