Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Unified Diff: samples/o3d-webgl/buffer.js

Issue 1092003: Fixed a lot of bugs with render surfaces and bitmaps. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/o3d-webgl/bounding_box.js ('k') | samples/o3d-webgl/client.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/o3d-webgl/buffer.js
===================================================================
--- samples/o3d-webgl/buffer.js (revision 40133)
+++ samples/o3d-webgl/buffer.js (working copy)
@@ -73,7 +73,7 @@
* the types of fields set on the buffer.
*
* @param {number} numElements Number of elements to allocate..
- * @returns {boolean} True if operation was successful.
+ * @return {boolean} True if operation was successful.
*/
o3d.Buffer.prototype.allocateElements =
function(numElements) {
@@ -106,7 +106,7 @@
* @param {string} field_type type of data in the field. Valid types
* are "FloatField", "UInt32Field", and "UByteNField".
* @param {number} num_components number of components in the field.
- * @returns {!o3d.Field} The created field.
+ * @return {!o3d.Field} The created field.
*/
o3d.Buffer.prototype.createField =
function(fieldType, numComponents) {
@@ -166,7 +166,7 @@
*
* @param {!Array.<number>} values contains data to assign to the Buffer
* data itself.
- * @returns {boolean} True if operation was successful.
+ * @return {boolean} True if operation was successful.
*/
o3d.Buffer.prototype.set =
function(values) {
@@ -213,7 +213,7 @@
*
* @param {number} start_index index of the element value to get.
* @param {number} numElements the number of elements to get.
- * @returns {!Array.<number>} An array of values.
+ * @return {!Array.<number>} An array of values.
*/
o3d.VertexBufferBase.prototype.getAt =
function(start_index, numElements) {
« no previous file with comments | « samples/o3d-webgl/bounding_box.js ('k') | samples/o3d-webgl/client.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698