From 8889bae73e689cd041779080854084b663ce01c7 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Fri, 22 May 2020 01:35:25 +0300 Subject: [PATCH] Merged sphere demo and graph demo. Set default FPS to 60. --- src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewPanel.java b/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewPanel.java index 01592be..7cf2b2f 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewPanel.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/gui/ViewPanel.java @@ -38,7 +38,7 @@ public class ViewPanel extends JPanel implements ComponentListener { * Currently target FPS for this view. It can be changed at runtime. Also when nothing * changes in the view, then frames are not really repainted. */ - private int targetFPS = 30; + private int targetFPS = 60; /** * Set to true if it is known than next frame reeds to be painted. Flag is cleared * immediately after frame got updated. -- 2.20.1