W icon indicating copy to clipboard operation
W copied to clipboard

Remove unused parameters from setState

Open Lukenickerson opened this issue 1 year ago • 4 comments

As far as I can tell, the setState function (https://github.com/xem/W/blob/gh-pages/w.js#L131) only uses the state, type, and texture parameters, and does not use i, normal = [], A, B, C, Ai, Bi, Ci, AB, BC.

@xem -- Can these be safely removed?

Lukenickerson avatar Feb 03 '24 14:02 Lukenickerson