We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f07c1b9 commit 88a1ddfCopy full SHA for 88a1ddf
src/app/cube-threejs/cube-threejs.component.ts
@@ -187,7 +187,7 @@ export class CubeThreejsComponent implements OnInit{
187
let geometry = new THREE.BoxGeometry(this.size, this.size, this.size);
188
//let geometry = new THREE.IcosahedronGeometry(1, 1);
189
190
- this._texture_brick = new THREE.TextureLoader().load( "/assets/texture/Bricks.jpg" );
+ this._texture_brick = new THREE.TextureLoader().load( "assets/texture/Bricks.jpg" );
191
this._texture_brick.minFilter = THREE.LinearFilter;
192
// check to set texture or pure color
193
var matProps:any = {};
0 commit comments