Skip to content

Commit 171c02e

Browse files
committed
Change the 3d model default position, Bottom side by default
1 parent 8650b04 commit 171c02e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NiclaSenseME-dashboard/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@
615615
ledObject = new THREE.Mesh(geometry, ledMaterial);
616616
ledObject.position.set(-4.5, 4, 0);
617617
arduinoModel.add(ledObject);
618+
arduinoModel.rotation.x = 270 * (Math.PI/180); // Show the Top side of the board by default
618619
ledLight = new THREE.PointLight(0x111111, 3, 100);
619620
ledLight.position.set(-4.5, 4, -1);
620621
arduinoModel.add(ledLight);

0 commit comments

Comments
 (0)