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

Side by Side Diff: samples/o3djs/lineprimitives.js

Issue 3045017: o3d-webgl: lineprimitives typo. (Closed) Base URL: svn://chrome-svn/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 | « no previous file | no next file » | 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 2009, Google Inc. 2 * Copyright 2009, 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 21 matching lines...) Expand all
32 32
33 /** 33 /**
34 * @fileoverview This file contains various functions to help 34 * @fileoverview This file contains various functions to help
35 * create line primitives for o3d applications. 35 * create line primitives for o3d applications.
36 * 36 *
37 * Note: This library is only a sample. It is not meant to be some official 37 * Note: This library is only a sample. It is not meant to be some official
38 * library. It is provided only as example code. 38 * library. It is provided only as example code.
39 * 39 *
40 */ 40 */
41 41
42 o3djs.provide('o3djs.lineprimtives'); 42 o3djs.provide('o3djs.lineprimitives');
43 43
44 o3djs.require('o3djs.math'); 44 o3djs.require('o3djs.math');
45 o3djs.require('o3djs.primitives'); 45 o3djs.require('o3djs.primitives');
46 46
47 /** 47 /**
48 * Defines a namespace for o3djs.lineprimitives. 48 * Defines a namespace for o3djs.lineprimitives.
49 * @namespace 49 * @namespace
50 */ 50 */
51 o3djs.lineprimitives = o3djs.lineprimitives || {}; 51 o3djs.lineprimitives = o3djs.lineprimitives || {};
52 52
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 opt_matrix) { 387 opt_matrix) {
388 var vertexInfo = o3djs.lineprimitives.createLineRingVertices( 388 var vertexInfo = o3djs.lineprimitives.createLineRingVertices(
389 radius, 389 radius,
390 subdivisions, 390 subdivisions,
391 maxTexCoord, 391 maxTexCoord,
392 opt_matrix); 392 opt_matrix);
393 393
394 return vertexInfo.createShape(pack, material); 394 return vertexInfo.createShape(pack, material);
395 }; 395 };
396 396
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698