FpsCounter frameTimes size: 60 -> 30
This commit is contained in:
parent
a92d089c5b
commit
f83d7f13aa
@ -19,7 +19,7 @@ using System.Xml.Linq;
|
|||||||
namespace SemiColinGames;
|
namespace SemiColinGames;
|
||||||
|
|
||||||
public class FpsCounter {
|
public class FpsCounter {
|
||||||
private readonly int[] frameTimes = new int[60];
|
private readonly int[] frameTimes = new int[30];
|
||||||
private double fps = 0;
|
private double fps = 0;
|
||||||
private int idx = 0;
|
private int idx = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user