Просмотр исходного кода

Merge pull request #20461 from montoyamoraga/patch-1

Update README.md
Mr.doob 5 лет назад
Родитель
Сommit
3b62e6b4ce
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -27,8 +27,8 @@ This code creates a scene, a camera, and a geometric cube, and it adds the cube
 ```javascript
 ```javascript
 import * as THREE from './js/three.module.js';
 import * as THREE from './js/three.module.js';
 
 
-var camera, scene, renderer;
-var geometry, material, mesh;
+let camera, scene, renderer;
+let geometry, material, mesh;
 
 
 init();
 init();
 animate();
 animate();

粤ICP备19079148号