diff options
author | maf@chromium.org <maf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 00:34:44 +0000 |
---|---|---|
committer | maf@chromium.org <maf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-06 00:34:44 +0000 |
commit | de4817b40830c7d3af8c63e1f5ae14dde042fed0 (patch) | |
tree | b80166553c03e360613a122c56b919187fe2bece /o3d/samples/o3d-webgl | |
parent | a14e56a9987689db99734d808768ed3be6a182da (diff) | |
download | chromium_src-de4817b40830c7d3af8c63e1f5ae14dde042fed0.zip chromium_src-de4817b40830c7d3af8c63e1f5ae14dde042fed0.tar.gz chromium_src-de4817b40830c7d3af8c63e1f5ae14dde042fed0.tar.bz2 |
Deleting trailing spaces, add ending newline where missing to make lint happy. Also delete some commented out CSS, etc.
Review URL: http://codereview.chromium.org/3083012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples/o3d-webgl')
-rw-r--r-- | o3d/samples/o3d-webgl/clear_buffer.js | 2 | ||||
-rw-r--r-- | o3d/samples/o3d-webgl/draw_context.js | 2 | ||||
-rw-r--r-- | o3d/samples/o3d-webgl/draw_element.js | 2 | ||||
-rw-r--r-- | o3d/samples/o3d-webgl/file_request.js | 8 | ||||
-rw-r--r-- | o3d/samples/o3d-webgl/material.js | 2 | ||||
-rw-r--r-- | o3d/samples/o3d-webgl/named_object.js | 2 | ||||
-rw-r--r-- | o3d/samples/o3d-webgl/raw_data.js | 6 | ||||
-rw-r--r-- | o3d/samples/o3d-webgl/render_surface.js | 2 | ||||
-rw-r--r-- | o3d/samples/o3d-webgl/stream.js | 2 |
9 files changed, 14 insertions, 14 deletions
diff --git a/o3d/samples/o3d-webgl/clear_buffer.js b/o3d/samples/o3d-webgl/clear_buffer.js index ba4d36a..f4f82aa 100644 --- a/o3d/samples/o3d-webgl/clear_buffer.js +++ b/o3d/samples/o3d-webgl/clear_buffer.js @@ -33,7 +33,7 @@ /** * A ClearBuffer is a render node that clears the color buffer, zbuffer and/or * stencil buffer of the current render target. - * + * * @constructor */ o3d.ClearBuffer = function() { diff --git a/o3d/samples/o3d-webgl/draw_context.js b/o3d/samples/o3d-webgl/draw_context.js index bd40a25..0b4967c 100644 --- a/o3d/samples/o3d-webgl/draw_context.js +++ b/o3d/samples/o3d-webgl/draw_context.js @@ -35,7 +35,7 @@ * It contains two 4-by-4 matrix params, view and * projection. These correspond to the viewing and projection transformation * matrices. - * + * * @param {!o3d.Matrix4} opt_view The view matrix for this DrawContext. * @param {!o3d.Matrix4} opt_projection The projection matrix * for this DrawContext. diff --git a/o3d/samples/o3d-webgl/draw_element.js b/o3d/samples/o3d-webgl/draw_element.js index aa31d51..cb4ac48 100644 --- a/o3d/samples/o3d-webgl/draw_element.js +++ b/o3d/samples/o3d-webgl/draw_element.js @@ -34,7 +34,7 @@ * A DrawElement causes an Element to be Drawn with a particular material. * You can override other Effect parameters by adding corresponding params to * the DrawElement. - * + * * @param {!o3d.Material} opt_material The material used to render this element. * @constructor */ diff --git a/o3d/samples/o3d-webgl/file_request.js b/o3d/samples/o3d-webgl/file_request.js index d759613..c0de059 100644 --- a/o3d/samples/o3d-webgl/file_request.js +++ b/o3d/samples/o3d-webgl/file_request.js @@ -35,23 +35,23 @@ * to be loaded. Its use parallels that of XMLHttpRequest; you create one, call * open, set the onreadystatechange callback, and call send. * Note that unlike XMLHttpRequests, FileRequests cannot be reused. - * + * * For RawData loads, on success the RawData will be stored in the data field * on the FileRequest itself. It is only valid until the FileRequest is freed by * calling pack.removeObject(request). - * + * * var request = pack.createFileRequest("RAWDATA"); * request.open("GET", url, true); * request.onreadystatechange = function() { * if (request.done) { * if (request.success) { * var rawData = request.data; - * + * * ... * } else { * dump('Load of rawdata returned failure.'); * } - * + * * pack.removeObject(request); * } * }; diff --git a/o3d/samples/o3d-webgl/material.js b/o3d/samples/o3d-webgl/material.js index 7dd1c8c..1597474 100644 --- a/o3d/samples/o3d-webgl/material.js +++ b/o3d/samples/o3d-webgl/material.js @@ -36,7 +36,7 @@ * The parameters needed on a Material will vary depending its Effect. * Note that a material MUST have its drawList set in order for objects using it * to render. - * + * * @param {!o3d.State} opt_state The State used by this material. * @param {!o3d.Effect} opt_effect The Effect used by this material. * @param {!o3d.DrawList} opt_draw_list The the DrawList used by this material. diff --git a/o3d/samples/o3d-webgl/named_object.js b/o3d/samples/o3d-webgl/named_object.js index 0fd1ec2..c272c1f 100644 --- a/o3d/samples/o3d-webgl/named_object.js +++ b/o3d/samples/o3d-webgl/named_object.js @@ -42,7 +42,7 @@ o3d.inherit('NamedObject', 'NamedObjectBase'); /** * The object's name. - * + * * Setting this has no meaning to O3D, but is useful for debugging and for * the functions Client.getObjects, Pack.getObject, * RenderNode.getRenderNodesByNameInTree and diff --git a/o3d/samples/o3d-webgl/raw_data.js b/o3d/samples/o3d-webgl/raw_data.js index 80a3489f..c1b48df 100644 --- a/o3d/samples/o3d-webgl/raw_data.js +++ b/o3d/samples/o3d-webgl/raw_data.js @@ -33,14 +33,14 @@ /** * A RawData object contains raw binary data which could contain * image, audio, text, or other information. - * + * * var request = g_pack.createArchiveRequest(); - * + * * request.onfileavailable = function(rawData) { * var texture = g_pack.createTextureFromRawData(rawData, true); * ... * }; - * + * * request.send(); * @constructor */ diff --git a/o3d/samples/o3d-webgl/render_surface.js b/o3d/samples/o3d-webgl/render_surface.js index 8ace573..4eefa06 100644 --- a/o3d/samples/o3d-webgl/render_surface.js +++ b/o3d/samples/o3d-webgl/render_surface.js @@ -33,7 +33,7 @@ /** * A RenderSurfaceBase is the base for RenderSurface and * RenderDepthStencilSurface. - * + * * @param {number} width The width of this RenderSurface. * @param {number} height The height of this RenderSurface. * @param {o3d.Texture} texture The texture of this RenderSurface. diff --git a/o3d/samples/o3d-webgl/stream.js b/o3d/samples/o3d-webgl/stream.js index 0daeb39..2008f90 100644 --- a/o3d/samples/o3d-webgl/stream.js +++ b/o3d/samples/o3d-webgl/stream.js @@ -57,7 +57,7 @@ o3d.Stream.Semantic = goog.typedef; * BINORMAL, * COLOR, * TEXCOORD - * + * * Semantics used when binding buffers to the streambank. They determine how * the Stream links up to the shader inputs. */ |