Need to fix a WebGl work. Attached are the codes, and you will have to make it work as it is in the link
[url removed, login to view]
Attached is the code that needs to be fixed, the libraries in the lib folder are to be used and work needs to be commented.
In the example link, it shows for polygons, but I just need it for triangles.