From: Svjatoslav Agejenko Date: Thu, 21 May 2020 22:35:25 +0000 (+0300) Subject: Merged sphere demo and graph demo. Set default FPS to 60. X-Git-Tag: sixth-3d-1.2~3 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=8889bae73e689cd041779080854084b663ce01c7;p=sixth-3d.git Merged sphere demo and graph demo. Set default FPS to 60. --- 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.