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

fix trace gaps between sheet and tube

parent f7e737c5
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ async function createPolymerTraceMesh(ctx: VisualContext, unit: Unit, structure:
const isNucleicType = isNucleic(v.moleculeType)
const isSheet = SecondaryStructureType.is(v.secStrucType, SecondaryStructureType.Flag.Beta)
const isHelix = SecondaryStructureType.is(v.secStrucType, SecondaryStructureType.Flag.Helix)
const tension = (isNucleicType || isSheet) ? 0.5 : 0.9
const tension = isNucleicType ? 0.5 : 0.9
const shift = isNucleicType ? 0.3 : 0.5
interpolateCurveSegment(state, v, tension, shift)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment