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

fixed pentose/star alignment

parent d1793a16
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ async function createCarbohydrateSymbolMesh(ctx: RuntimeContext, structure: Stru
builder.addBox(t, { width: side, height: side / 2, depth: side })
break
case SaccharideShapes.FilledStar:
centerAlign(cGeo.center, cGeo.normal, cGeo.direction)
centerAlign(cGeo.center, cGeo.direction, cGeo.normal)
builder.addStar(t, { outerRadius: side, innerRadius: side / 2, thickness: side / 2, pointCount: 5 })
break
case SaccharideShapes.FilledDiamond:
......
......@@ -78,7 +78,7 @@ export class Stage {
// this.loadPdbid('1hrv') // viral assembly
// this.loadPdbid('1rb8') // virus
// this.loadPdbid('1blu') // metal coordination
this.loadPdbid('3pqr') // inter unit bonds, two polymer chains, ligands, water, carbohydrates linked to protein
// this.loadPdbid('3pqr') // inter unit bonds, two polymer chains, ligands, water, carbohydrates linked to protein
// this.loadPdbid('4v5a') // ribosome
// this.loadPdbid('3j3q') // ...
// this.loadPdbid('2np2') // dna
......@@ -99,7 +99,7 @@ export class Stage {
// this.loadPdbid('2zex') // contains carbohydrate polymer
// this.loadPdbid('3sgj') // contains carbohydrate polymer
// this.loadPdbid('3ina') // contains GlcN and IdoA
// this.loadPdbid('1umz') // contains Xyl (Xyloglucan)
this.loadPdbid('1umz') // contains Xyl (Xyloglucan)
// this.loadPdbid('1mfb') // contains Abe
// this.loadPdbid('2gdu') // contains sucrose
// this.loadPdbid('2fnc') // contains maltotriose
......
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