Browse Source

[en] Fix typo responsive && primitive

NikitaIT 6 years ago
parent
commit
b9a035afac
2 changed files with 2 additions and 2 deletions
  1. 1 1
      threejs/lessons/threejs-primitives.md
  2. 1 1
      threejs/lessons/threejs-responsive.md

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

@@ -34,7 +34,7 @@ for <code>TextBufferGeometry</code> and <code>TextGeometry</code> respectively.<
 <div data-primitive="PlaneBufferGeometry">A 2D plane</div>
 <div data-primitive="PolyhedronBufferGeometry">Takes a set of triangles centered around a point and projects them onto a sphere</div>
 <div data-primitive="RingBufferGeometry">A 2D disc with a hole in the center</div>
-<div data-primitive="ShapeBufferGeometry">A 2d outline that gets trianglulated</div>
+<div data-primitive="ShapeBufferGeometry">A 2d outline that gets triangulated</div>
 <div data-primitive="SphereBufferGeometry">A sphere</div>
 <div data-primitive="TetrahedronBufferGeometry">A terahedron (4 sides)</div>
 <div data-primitive="TextBufferGeometry">3D Text generated from a 3D font and a string</div>

+ 1 - 1
threejs/lessons/threejs-responsive.md

@@ -119,7 +119,7 @@ A canvas's internal size, its resolution, is often called its drawingbuffer size
 In three.js we can set the canvas's drawingbuffer size by calling `renderer.setSize`.
 What size should we pick? The most obvious answer is "the same size the canvas is displayed".
 Again, to do that we can look at the canvas's `clientWidth` and `clientHeight`
-attributes.
+properties.
 
 Let's write a function that checks if the renderer's canvas is not
 already the size it is being displayed as and if so set its size.