Skip to content

Commit c2b8083

Browse files
committed
made animated 3D-molecule views the standard
1 parent 0effc2e commit c2b8083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openmolecules/fx/viewer3d/V3DScene.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ public void reviveAnimation() {
700700
private void startAnimation() {
701701
DoubleProperty value = new SimpleDoubleProperty(0);
702702
value.addListener((observable, oldValue, newValue) -> {
703-
double angle = 0.5 * Math.cos(newValue.doubleValue());
703+
double angle = 0.4 * Math.cos(newValue.doubleValue());
704704
Point3D cog = getCOGInGroup(mWorld);
705705
// mWorld.rotate(new Rotate(angle, cog.getX(), cog.getY(), cog.getZ(), new Point3D(0, 1, 0)));
706706
rotateWorldInternal(new Rotate(angle, new Point3D(0, 1, 0)), cog);

0 commit comments

Comments
 (0)