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

Side by Side Diff: samples/o3d-webgl/named_object.js

Issue 3083012: Tidying up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « samples/o3d-webgl/material.js ('k') | samples/o3d-webgl/raw_data.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2010, Google Inc. 2 * Copyright 2010, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 24 matching lines...) Expand all
35 * @constructor 35 * @constructor
36 */ 36 */
37 o3d.NamedObject = function() { 37 o3d.NamedObject = function() {
38 o3d.NamedObjectBase.call(this); 38 o3d.NamedObjectBase.call(this);
39 }; 39 };
40 o3d.inherit('NamedObject', 'NamedObjectBase'); 40 o3d.inherit('NamedObject', 'NamedObjectBase');
41 41
42 42
43 /** 43 /**
44 * The object's name. 44 * The object's name.
45 * 45 *
46 * Setting this has no meaning to O3D, but is useful for debugging and for 46 * Setting this has no meaning to O3D, but is useful for debugging and for
47 * the functions Client.getObjects, Pack.getObject, 47 * the functions Client.getObjects, Pack.getObject,
48 * RenderNode.getRenderNodesByNameInTree and 48 * RenderNode.getRenderNodesByNameInTree and
49 * RenderNode.getTransformsByNameInTree 49 * RenderNode.getTransformsByNameInTree
50 * which search for objects by name. 50 * which search for objects by name.
51 * @type {string} 51 * @type {string}
52 */ 52 */
53 o3d.NamedObject.prototype.name = ''; 53 o3d.NamedObject.prototype.name = '';
54 54
55 55
OLDNEW
« no previous file with comments | « samples/o3d-webgl/material.js ('k') | samples/o3d-webgl/raw_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698