diff options
Diffstat (limited to 'o3d/samples/o3d-webgl/buffer.js')
-rw-r--r-- | o3d/samples/o3d-webgl/buffer.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/o3d/samples/o3d-webgl/buffer.js b/o3d/samples/o3d-webgl/buffer.js index 6cfeb50..8f4e65e 100644 --- a/o3d/samples/o3d-webgl/buffer.js +++ b/o3d/samples/o3d-webgl/buffer.js @@ -64,9 +64,9 @@ o3d.Buffer.prototype.gl_buffer_ = 0; /** * Type of the array element. - * @type {!WebGLFloatArray} + * @type {!Float32Array} */ -o3d.Buffer.prototype.ArrayType = WebGLFloatArray; +o3d.Buffer.prototype.ArrayType = Float32Array; o3d.Buffer.prototype.__defineGetter__('numElements', function() { @@ -318,9 +318,9 @@ o3d.inherit('IndexBuffer', 'Buffer'); /** * Type of the array element. - * @type {!WebGLUnsignedShortArray} + * @type {!Uint16Array} */ -o3d.IndexBuffer.prototype.ArrayType = WebGLUnsignedShortArray; +o3d.IndexBuffer.prototype.ArrayType = Uint16Array; /** |