Browse Source

remove extra lines

Gregg Tavares 5 years ago
parent
commit
0c4969b330
41 changed files with 0 additions and 48 deletions
  1. 0 1
      .github/ISSUE_TEMPLATE/bug-issue-report.md
  2. 0 1
      .github/ISSUE_TEMPLATE/question.md
  3. 0 1
      .github/ISSUE_TEMPLATE/request.md
  4. 0 1
      .github/ISSUE_TEMPLATE/suggest-topic.md
  5. 0 1
      .github/ISSUE_TEMPLATE/translation.md
  6. 0 1
      contributors.md
  7. 0 1
      threejs/3dlut-base-cube-maker.html
  8. 0 1
      threejs/canvas-random-dots.html
  9. 0 1
      threejs/gpw-data-viewer.html
  10. 0 2
      threejs/lessons/index.md
  11. 0 2
      threejs/lessons/ru/index.md
  12. 0 1
      threejs/lessons/ru/threejs-materials.md
  13. 0 1
      threejs/lessons/ru/threejs-primitives.md
  14. 0 1
      threejs/lessons/threejs-custom-buffergeometry.md
  15. 0 1
      threejs/lessons/threejs-debugging-glsl.md
  16. 0 1
      threejs/lessons/threejs-materials.md
  17. 0 2
      threejs/lessons/threejs-optimize-lots-of-objects-animated.md
  18. 0 1
      threejs/lessons/threejs-primitives.md
  19. 0 3
      threejs/lessons/threejs-shadows.md
  20. 0 2
      threejs/lessons/threejs-voxel-geometry.md
  21. 0 1
      threejs/lessons/tools/geo-picking/README.md
  22. 0 1
      threejs/lessons/tools/geo-picking/make-geo-picking-texture-ogc.html
  23. 0 2
      threejs/lessons/zh_cn/index.md
  24. 0 1
      threejs/resources/data/world/license.md
  25. 0 1
      threejs/threejs-cleanup-loaded-files.html
  26. 0 1
      threejs/threejs-game-conga-line-w-notes.html
  27. 0 1
      threejs/threejs-game-conga-line.html
  28. 0 1
      threejs/threejs-offscreencanvas.html
  29. 0 1
      threejs/threejs-primitives-text.html
  30. 0 1
      threejs/threejs-primitives.html
  31. 0 1
      threejs/threejs-scenegraph-car.html
  32. 0 1
      threejs/threejs-scenegraph-sun-earth-moon-axes-grids.html
  33. 0 1
      threejs/threejs-scenegraph-sun-earth-moon-axes.html
  34. 0 1
      threejs/threejs-scenegraph-sun-earth-moon.html
  35. 0 1
      threejs/threejs-scenegraph-sun-earth-orbit-fixed.html
  36. 0 1
      threejs/threejs-scenegraph-sun-earth-orbit.html
  37. 0 1
      threejs/threejs-scenegraph-sun-earth.html
  38. 0 1
      threejs/threejs-scenegraph-sun.html
  39. 0 1
      threejs/threejs-scenegraph-tank.html
  40. 0 1
      threejs/threejs-tips-tabindex.html
  41. 0 1
      todo.md

+ 0 - 1
.github/ISSUE_TEMPLATE/bug-issue-report.md

@@ -7,4 +7,3 @@ assignees: ''
 
 
 ---
 ---
 
 
-

+ 0 - 1
.github/ISSUE_TEMPLATE/question.md

@@ -7,4 +7,3 @@ assignees: ''
 
 
 ---
 ---
 
 
-

+ 0 - 1
.github/ISSUE_TEMPLATE/request.md

@@ -7,4 +7,3 @@ assignees: ''
 
 
 ---
 ---
 
 
-

+ 0 - 1
.github/ISSUE_TEMPLATE/suggest-topic.md

@@ -7,4 +7,3 @@ assignees: ''
 
 
 ---
 ---
 
 
-

+ 0 - 1
.github/ISSUE_TEMPLATE/translation.md

@@ -7,4 +7,3 @@ assignees: ''
 
 
 ---
 ---
 
 
-

+ 0 - 1
contributors.md

@@ -5,4 +5,3 @@ Threejsfundamentals is brought to you by:
 
 
 *    Gregg (Greggman) Tavares [games.greggman.com](http://games.greggman.com)
 *    Gregg (Greggman) Tavares [games.greggman.com](http://games.greggman.com)
 
 
-

+ 0 - 1
threejs/3dlut-base-cube-maker.html

@@ -26,7 +26,6 @@ canvas {
 </body>
 </body>
 <script type="module">
 <script type="module">
 
 
-
 const ctx = document.querySelector('canvas').getContext('2d');
 const ctx = document.querySelector('canvas').getContext('2d');
 
 
 function drawColorCubeImage(ctx, size) {
 function drawColorCubeImage(ctx, size) {

+ 0 - 1
threejs/canvas-random-dots.html

@@ -10,7 +10,6 @@
   </body>
   </body>
 <script type="module">
 <script type="module">
 
 
-
 function main() {
 function main() {
   const ctx = document.createElement('canvas').getContext('2d');
   const ctx = document.createElement('canvas').getContext('2d');
   document.body.appendChild(ctx.canvas);
   document.body.appendChild(ctx.canvas);

+ 0 - 1
threejs/gpw-data-viewer.html

@@ -14,7 +14,6 @@ canvas {
 </body>
 </body>
 <script type="module">
 <script type="module">
 
 
-
 async function loadFile(url) {
 async function loadFile(url) {
   const req = await fetch(url);
   const req = await fetch(url);
   return req.text();
   return req.text();

+ 0 - 2
threejs/lessons/index.md

@@ -4,7 +4,6 @@ A set of articles to help learn Three.js.
 
 
 {{{include "threejs/lessons/toc.html"}}}
 {{{include "threejs/lessons/toc.html"}}}
 
 
-
 <!--
 <!--
 
 
 {{{table_of_contents}}}
 {{{table_of_contents}}}
@@ -12,4 +11,3 @@ A set of articles to help learn Three.js.
 -->
 -->
 
 
 
 
-

+ 0 - 2
threejs/lessons/ru/index.md

@@ -4,7 +4,6 @@ Title: Основы Three.js
 
 
 {{{include "threejs/lessons/ru/toc.html"}}}
 {{{include "threejs/lessons/ru/toc.html"}}}
 
 
-
 <!--
 <!--
 
 
 {{{table_of_contents}}}
 {{{table_of_contents}}}
@@ -12,4 +11,3 @@ Title: Основы Three.js
 -->
 -->
 
 
 
 
-

+ 0 - 1
threejs/lessons/ru/threejs-materials.md

@@ -320,4 +320,3 @@ flat shaded
 <canvas id="c"></canvas>
 <canvas id="c"></canvas>
 <script type="module" src="../resources/threejs-materials.js"></script>
 <script type="module" src="../resources/threejs-materials.js"></script>
 
 
-

+ 0 - 1
threejs/lessons/ru/threejs-primitives.md

@@ -247,7 +247,6 @@ function addSolidGeometry(x, y, geometry) {
 
 
 Если бы мы этого не делали, текст был бы оторван от центра.
 Если бы мы этого не делали, текст был бы оторван от центра.
 
 
-
 {{{example url="../threejs-primitives-text.html" }}}
 {{{example url="../threejs-primitives-text.html" }}}
 
 
 Обратите внимание, что то что слева не вращается вокруг своего центра, 
 Обратите внимание, что то что слева не вращается вокруг своего центра, 

+ 0 - 1
threejs/lessons/threejs-custom-buffergeometry.md

@@ -463,4 +463,3 @@ depends on your needs.
 <canvas id="c"></canvas>
 <canvas id="c"></canvas>
 <script type="module" src="resources/threejs-custom-buffergeometry.js"></script>
 <script type="module" src="resources/threejs-custom-buffergeometry.js"></script>
 
 
-

+ 0 - 1
threejs/lessons/threejs-debugging-glsl.md

@@ -110,4 +110,3 @@ live while the code is running.
 
 
 
 
 
 
-

+ 0 - 1
threejs/lessons/threejs-materials.md

@@ -306,4 +306,3 @@ switch from using one to using the other.
 <canvas id="c"></canvas>
 <canvas id="c"></canvas>
 <script type="module" src="resources/threejs-materials.js"></script>
 <script type="module" src="resources/threejs-materials.js"></script>
 
 
-

+ 0 - 2
threejs/lessons/threejs-optimize-lots-of-objects-animated.md

@@ -266,7 +266,6 @@ First let's change `addBoxes` to just make and return the merged geometry.
   
   
   ...
   ...
 
 
-
 -  const mergedGeometry = BufferGeometryUtils.mergeBufferGeometries(
 -  const mergedGeometry = BufferGeometryUtils.mergeBufferGeometries(
 -      geometries, false);
 -      geometries, false);
 -  const material = new THREE.MeshBasicMaterial({
 -  const material = new THREE.MeshBasicMaterial({
@@ -725,4 +724,3 @@ not make a good visualization. Feel free to change the `amountGreaterThan` from
 `Math.max(a - b, 0)` to something like `(a - b)` "raw difference" or `a / (a +
 `Math.max(a - b, 0)` to something like `(a - b)` "raw difference" or `a / (a +
 b)` "percent" and you'll see what I mean.
 b)` "percent" and you'll see what I mean.
 
 
-

+ 0 - 1
threejs/lessons/threejs-primitives.md

@@ -352,4 +352,3 @@ to use it](threejs-scenegraph.html).
 <link rel="stylesheet" href="resources/threejs-primitives.css">
 <link rel="stylesheet" href="resources/threejs-primitives.css">
 <script type="module" src="resources/threejs-primitives.js"></script>
 <script type="module" src="resources/threejs-primitives.js"></script>
 
 
-

+ 0 - 3
threejs/lessons/threejs-shadows.md

@@ -129,7 +129,6 @@ The shadow is a `MeshBasicMaterial` because it doesn't need lighting.
 We make each sphere a different hue and then save off the base, the sphere mesh,
 We make each sphere a different hue and then save off the base, the sphere mesh,
 the shadow mesh and the initial y position of each sphere.
 the shadow mesh and the initial y position of each sphere.
 
 
-
 ```js
 ```js
 const numSpheres = 15;
 const numSpheres = 15;
 for (let i = 0; i < numSpheres; ++i) {
 for (let i = 0; i < numSpheres; ++i) {
@@ -434,7 +433,6 @@ from our [article about lights](threejs-lights.html).
 
 
 {{{example url="../threejs-shadows-spot-light-with-camera-gui.html" }}}
 {{{example url="../threejs-shadows-spot-light-with-camera-gui.html" }}}
 
 
-
 <!--
 <!--
 You can notice, just like the last example if we set the angle high
 You can notice, just like the last example if we set the angle high
 then the shadow map, the texture is spread over a very large area and
 then the shadow map, the texture is spread over a very large area and
@@ -449,7 +447,6 @@ also blur the result
 -->
 -->
 
 
 
 
-
 And finally there's shadows with a `PointLight`. Since a `PointLight`
 And finally there's shadows with a `PointLight`. Since a `PointLight`
 shines in all directions the only relevent settings are `near` and `far`.
 shines in all directions the only relevent settings are `near` and `far`.
 Otherwise the `PointLight` shadow is effectively 6 `SpotLight` shadows
 Otherwise the `PointLight` shadow is effectively 6 `SpotLight` shadows

+ 0 - 2
threejs/lessons/threejs-voxel-geometry.md

@@ -1068,7 +1068,6 @@ in the adjacent cell might need new geometry. This means
 we need to check the cell for the voxel we just edited
 we need to check the cell for the voxel we just edited
 as well as in all 6 directions from that cell.
 as well as in all 6 directions from that cell.
 
 
-
 ```js
 ```js
 const neighborOffsets = [
 const neighborOffsets = [
   [ 0,  0,  0], // self
   [ 0,  0,  0], // self
@@ -1215,4 +1214,3 @@ to generate some what efficient geometry.
 <canvas id="c"></canvas>
 <canvas id="c"></canvas>
 <script type="module" src="resources/threejs-voxel-geometry.js"></script>
 <script type="module" src="resources/threejs-voxel-geometry.js"></script>
 
 
-

+ 0 - 1
threejs/lessons/tools/geo-picking/README.md

@@ -24,4 +24,3 @@ export the table called `level1` to a json file called `level1.json`
 Then run a simple server like above and open `make-geo-picking-texture-ogc.html` in your browser.
 Then run a simple server like above and open `make-geo-picking-texture-ogc.html` in your browser.
 
 
 
 
-

+ 0 - 1
threejs/lessons/tools/geo-picking/make-geo-picking-texture-ogc.html

@@ -9,7 +9,6 @@ function wait(ms = 0) {
 
 
 // # need to draw to 2nd canvas, then shave off non perfect pixels
 // # need to draw to 2nd canvas, then shave off non perfect pixels
 
 
-
 async function main() {
 async function main() {
   const ctx = document.querySelector('canvas').getContext('2d');
   const ctx = document.querySelector('canvas').getContext('2d');
   ctx.canvas.width = 2048;
   ctx.canvas.width = 2048;

+ 0 - 2
threejs/lessons/zh_cn/index.md

@@ -4,7 +4,6 @@ Title: Three.js基础
 
 
 {{{include "threejs/lessons/toc.html"}}}
 {{{include "threejs/lessons/toc.html"}}}
 
 
-
 <!--
 <!--
 
 
 {{{table_of_contents}}}
 {{{table_of_contents}}}
@@ -12,4 +11,3 @@ Title: Three.js基础
 -->
 -->
 
 
 
 
-

+ 0 - 1
threejs/resources/data/world/license.md

@@ -8,4 +8,3 @@ The licence of that data is [CC-BY-SA](http://creativecommons.org/licenses/by-sa
 
 
 Which means this data is also [CC-BY-SA](http://creativecommons.org/licenses/by-sa/3.0/).
 Which means this data is also [CC-BY-SA](http://creativecommons.org/licenses/by-sa/3.0/).
 
 
-

+ 0 - 1
threejs/threejs-cleanup-loaded-files.html

@@ -28,7 +28,6 @@
 import * as THREE from './resources/threejs/r108/build/three.module.js';
 import * as THREE from './resources/threejs/r108/build/three.module.js';
 import {GLTFLoader} from './resources/threejs/r108/examples/jsm/loaders/GLTFLoader.js';
 import {GLTFLoader} from './resources/threejs/r108/examples/jsm/loaders/GLTFLoader.js';
 
 
-
 class ResourceTracker {
 class ResourceTracker {
   constructor() {
   constructor() {
     this.resources = new Set();
     this.resources = new Set();

+ 0 - 1
threejs/threejs-game-conga-line-w-notes.html

@@ -104,7 +104,6 @@
       }
       }
     }
     }
 
 
-
     #labels {
     #labels {
       position: absolute;  /* let us position ourself inside the container */
       position: absolute;  /* let us position ourself inside the container */
       left: 0;             /* make our position the top left of the container */
       left: 0;             /* make our position the top left of the container */

+ 0 - 1
threejs/threejs-game-conga-line.html

@@ -104,7 +104,6 @@
       }
       }
     }
     }
 
 
-
     #labels {
     #labels {
       position: absolute;  /* let us position ourself inside the container */
       position: absolute;  /* let us position ourself inside the container */
       left: 0;             /* make our position the top left of the container */
       left: 0;             /* make our position the top left of the container */

+ 0 - 1
threejs/threejs-offscreencanvas.html

@@ -33,7 +33,6 @@
   </body>
   </body>
 <script type="module">
 <script type="module">
 
 
-
 function main() {  /* eslint consistent-return: 0 */
 function main() {  /* eslint consistent-return: 0 */
   const canvas = document.querySelector('#c');
   const canvas = document.querySelector('#c');
   if (!canvas.transferControlToOffscreen) {
   if (!canvas.transferControlToOffscreen) {

+ 0 - 1
threejs/threejs-primitives-text.html

@@ -155,4 +155,3 @@ main();
 </script>
 </script>
 </html>
 </html>
 
 
-

+ 0 - 1
threejs/threejs-primitives.html

@@ -381,4 +381,3 @@ main();
 </script>
 </script>
 </html>
 </html>
 
 
-

+ 0 - 1
threejs/threejs-scenegraph-car.html

@@ -120,4 +120,3 @@ main();
 </html>
 </html>
 
 
 
 
-

+ 0 - 1
threejs/threejs-scenegraph-sun-earth-moon-axes-grids.html

@@ -189,4 +189,3 @@ main();
 </html>
 </html>
 
 
 
 
-

+ 0 - 1
threejs/threejs-scenegraph-sun-earth-moon-axes.html

@@ -127,4 +127,3 @@ main();
 </html>
 </html>
 
 
 
 
-

+ 0 - 1
threejs/threejs-scenegraph-sun-earth-moon.html

@@ -119,4 +119,3 @@ main();
 </html>
 </html>
 
 
 
 
-

+ 0 - 1
threejs/threejs-scenegraph-sun-earth-orbit-fixed.html

@@ -105,4 +105,3 @@ main();
 </html>
 </html>
 
 
 
 
-

+ 0 - 1
threejs/threejs-scenegraph-sun-earth-orbit.html

@@ -101,4 +101,3 @@ main();
 </html>
 </html>
 
 
 
 
-

+ 0 - 1
threejs/threejs-scenegraph-sun-earth.html

@@ -101,4 +101,3 @@ main();
 </html>
 </html>
 
 
 
 
-

+ 0 - 1
threejs/threejs-scenegraph-sun.html

@@ -96,4 +96,3 @@ main();
 </html>
 </html>
 
 
 
 
-

+ 0 - 1
threejs/threejs-scenegraph-tank.html

@@ -287,4 +287,3 @@ main();
 </html>
 </html>
 
 
 
 
-

+ 0 - 1
threejs/threejs-tips-tabindex.html

@@ -38,7 +38,6 @@
   </body>
   </body>
 <script type="module">
 <script type="module">
 
 
-
 document.querySelectorAll('canvas').forEach((canvas) => {
 document.querySelectorAll('canvas').forEach((canvas) => {
   const ctx = canvas.getContext('2d');
   const ctx = canvas.getContext('2d');
 
 

+ 0 - 1
todo.md

@@ -4,4 +4,3 @@ TO DO
 * Update first article with links to CDN?
 * Update first article with links to CDN?
 
 
 
 
-