Преглед на файлове

reduced default unicell cage thickness

Alexander Rose преди 5 години
родител
ревизия
c217aab5fc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/mol-plugin/util/model-unitcell.ts

+ 1 - 1
src/mol-plugin/util/model-unitcell.ts

@@ -48,7 +48,7 @@ function getUnitcellMesh(data: UnitcellData, props: UnitcellProps, mesh?: Mesh)
     Mat4.fromTranslation(tmpTranslate, tmpRef)
     const cellCage = transformCage(copyCage(unitCage), tmpTranslate)
 
-    const radius = (Math.cbrt(data.symmetry.spacegroup.cell.volume) / 100) * props.cellScale
+    const radius = (Math.cbrt(data.symmetry.spacegroup.cell.volume) / 300) * props.cellScale
     state.currentGroup = 1
     MeshBuilder.addCage(state, fromFractional, cellCage, radius, 2, 20)