added resize()
Merge branch 'webgl' of github.com:ncannasse/h3d into webgl