Skip to content
Snippets Groups Projects
Commit 4b7ea92f authored by Lucio Zambon's avatar Lucio Zambon
Browse files

Update rvpremium.js

parent 4b0f9e02
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,8 @@
texture.wrapS = texture.wrapT = THREE.RepeatWrapping;
texture.repeat.set(1, 1);
const material = new THREE.MeshBasicMaterial({ map: texture });
const gridgeometrymesh = new THREE.Mesh(drawer1geometry, material);
const materials = [bluematerial, material, bluematerial, bluematerial, bluematerial, bluematerial];
const gridgeometrymesh = new THREE.Mesh(drawer1geometry, materials);
gridgeometrymesh.rotateX(Math.PI * 1);
gridgeometrymesh.rotateY(Math.PI * 1);
gridgeometrymesh.rotateZ(Math.PI * 1);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment