angle-normals
angle-normals copied to clipboard
Add optional `out` parameter
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?