awacke1 commited on
Commit
6ece7de
·
verified ·
1 Parent(s): 4fe69fa

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +5 -5
index.html CHANGED
@@ -40,13 +40,13 @@
40
  'the_hidden_city_known_as_civilization4.png',
41
  ];
42
 
43
- Promise.all(imageUrls.map(url => asyncTextureLoader.load(url)))
44
- .then(loadedTextures => {
45
- textures.push(...loadedTextures);
46
  // Once all textures are loaded, create cards
47
  createCards();
48
- })
49
- .catch(error => console.error('Error loading textures:', error));
50
 
51
  function createCards() {
52
  var cardGeometry = new THREE.BoxGeometry(5, 0.1, 7);
 
40
  'the_hidden_city_known_as_civilization4.png',
41
  ];
42
 
43
+ //Promise.all(imageUrls.map(url => asyncTextureLoader.load(url)))
44
+ // .then(loadedTextures => {
45
+ // textures.push(...loadedTextures);
46
  // Once all textures are loaded, create cards
47
  createCards();
48
+ // })
49
+ // .catch(error => console.error('Error loading textures:', error));
50
 
51
  function createCards() {
52
  var cardGeometry = new THREE.BoxGeometry(5, 0.1, 7);