Line rendering - avoid spread operator on large arrays (#4173)
Line rendering - avoid spread operator on large arrays (#4173)

Co-authored-by: Martin Valigursky <2113fa600d719248203230de1894fe2542067d96@snapchat.com>
playcanvas/engine,MicroWorldwide/PlayCanvas,playcanvas/engine,MicroWorldwide/PlayCanvas