greggman / twgl.js

A Tiny WebGL helper Library
http://twgljs.org
MIT License
2.61k stars 258 forks source link

twgl.attributes is no longer exported #137

Closed legends2k closed 4 years ago

legends2k commented 4 years ago

Upgrading from 3.6.0 to 4.11.1, I see that twgl.attributes is no longer exported. Functions like createAttribsFromArrays are available directly under twgl but not under twgl.attributes unlike what twgl/attributes' documentation says:

For backward compatibility they are available at both twgl.attributes and twgl itself

If it helps, I use twgl.js in the dumbest possible way: <script type="text/javascript" src="twgl-full.js"></script> in my html document within <head>.

greggman commented 4 years ago

doh! try 4.11.12?

legends2k commented 4 years ago

You mean 4.11.2? Yeah, that solves it 👍