View Full Version : WebGL...Array constructor
In webgl spec i've found a WebGLTypeArray constructor like this:
Constructor(in sequence<GLfloat> array)
what's the sequence<GLfloat>? Is it c-like glfloat array?
02-04-2010, 12:19 AM
typedef float GLfloat;
It's only a simple float array [0.0, 1.0, 2.0]
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?
10-20-2011, 04:32 AM
Thanks for the detailed report you posted above. I found the solution to my problem thanks to your posts. Good job!!!
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.