Hi, please fix CreateCylinder function, because a lot of old playgounds don't work.
http://www.babylonjs-playground.com/#1RWE59#12 - error line 30
http://www.babylonjs-playground.com/#12ZRI0#9
....
And there are many playgrounds.
http://www.babylonjs-playground.com/#1RWE59#39 - error fixed, line 33
Seems that if
subdivisions
is not defined return an error,
but if I take a look at
VertexData.CreateCylinder(options)
subdivisions is not required. I can't explain why return error.
Thanks.