Skip to content

Commit

Permalink
Update acomponent.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sikaar authored Dec 5, 2023
1 parent 5350e4b commit 9e12926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/acomponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AFRAME.registerComponent('containerent', {
let container = this.el;
for (var i=0; i<50; i++)
{
if (i<25){this.el.innerHTML += "<a-entity gltf-model='#blue' position='" + addCube()+ "' ></a-entity>"};
if (i<30){this.el.innerHTML += "<a-entity gltf-model='#blue' position='" + addCube()+ "' ></a-entity>"};
//console.log("adding one");
//console.log("<a-sphere radius=.1 color=" + getRandomColor() +" position=" + addCube() + "></a-sphere>");
this.el.innerHTML += "<a-plane scale='.2 .2 .2' src=" + getRandomTexture() +" color=" + getRandomColor() +" position='" + addCube() + "' look-at='#player'> <a-entity text='width: 4; color: #ffffff; value: BLEU; align: center' position ='0 0 .1' background='color: #ffffff'></a-entity></a-plane>";
Expand Down

0 comments on commit 9e12926

Please sign in to comment.