gpujs / gpu.js

GPU Accelerated JavaScript
https://gpu.rocks
MIT License
15.1k stars 652 forks source link

Docs should mention that custom functions must be named functions #636

Open JThobbyist opened 4 years ago

JThobbyist commented 4 years ago

So apparently custom functions throw an error if they are anonymous (including arrow functions too).

Therefore it should be mentioned in the docs that custom functions must be named functions, and will not work otherwise.

davidrapan commented 3 years ago

Can confirm. ;)