frenchtoast747 / webgl-obj-loader

A simple OBJ model loader to help facilitate the learning of WebGL.
http://frenchtoast747.github.io/webgl-obj-loader/
MIT License
282 stars 59 forks source link

Texture bug #53

Closed nassosyian closed 6 years ago

nassosyian commented 6 years ago

line 169 of mesh.js should be coords = elements.slice(0, 2); instead of coords = elements.slice(0, 1);

frenchtoast747 commented 6 years ago

Thanks for the quick fix!