In webgl spec i've found a WebGLTypeArray constructor like this:
what's the sequence<GLfloat>? Is it c-like glfloat array?Code :Constructor(in sequence<GLfloat> array)
Code :Constructor(in sequence<GLfloat> array)
It's only a simple float array [0.0, 1.0, 2.0]Code :typedef float GLfloat;
in fact it's platform dependant according to opengl spec but my question was is it a c-like array - sequence of 4-bit floats or something else (js-array, other representation of array)?
And another question. Would if work if I invoke this constructor from external code (flash plugin, silverlight plugin) with a pointer to c-like float array?
Thanks for the detailed report you posted above. I found the solution to my problem thanks to your posts. Good job!!!