Skip to content
Snippets Groups Projects
Commit c217aab5 authored by Alexander Rose's avatar Alexander Rose
Browse files

reduced default unicell cage thickness

parent 5d5fd002
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment