View Full Version : Minefield: set is not a function. wtf?
01-30-2010, 08:02 AM
Minefield does no longer support WebGLFloatArray.set?
My old application which worked before does throw now an error "set is not a function".
01-30-2010, 08:21 AM
For some reason Array-Access does now work:
wglArray[i] = value;
That's nice, but does this work in Chrome, too? Minefield people don't care about the spec, which defines set/get only? Is there a new spec?
02-06-2010, 01:46 PM
The current spec defines both, so the array index notation should work in Chrome too:
Sets the element at the given index to the given value. If the index is out of range, an exception is raised. This is an index setter function, and may be invoked via array index syntax where applicable.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.