viral-viewer-2 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -214,14 +214,14 @@ class CubeScene {
|
|
|
214
214
|
let plane53 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
|
|
215
215
|
plane53.rotation.x = Math.PI / 2;
|
|
216
216
|
plane53.position.y = distanceFromCenterPoint;
|
|
217
|
-
plane53.rotation.
|
|
217
|
+
plane53.rotation.z = Math.PI / 2;
|
|
218
218
|
plane53.position.z = ((planeSize / 2) + (edgeWidth / 2));
|
|
219
219
|
this.planes.push(plane53);
|
|
220
220
|
//bottom edge
|
|
221
221
|
let plane54 = new three_1.Mesh(edgePlaneGeometry, planeMaterial.clone());
|
|
222
222
|
plane54.rotation.x = Math.PI / 2;
|
|
223
223
|
plane54.position.y = distanceFromCenterPoint;
|
|
224
|
-
plane54.rotation.
|
|
224
|
+
plane54.rotation.z = Math.PI / 2;
|
|
225
225
|
plane54.position.z = -((planeSize / 2) + (edgeWidth / 2));
|
|
226
226
|
this.planes.push(plane54);
|
|
227
227
|
//#endregion
|