angle-normals icon indicating copy to clipboard operation
angle-normals copied to clipboard

Add optional `out` parameter

Open danman113 opened this issue 4 years ago • 0 comments

Sometimes you only want to recalculate the normals of an existing array instead of allocating a new array. Adding an optional out parameter (such as the one used by gl-matrix) allows you to set the values of an existing array without adding any extra complexity. What do you think?

danman113 avatar Jul 08 '21 06:07 danman113