mirror of
https://github.com/ConjureETS/LOG750-LAB2.git
synced 2026-03-24 03:21:19 +00:00
Removed time frame limiter
This commit is contained in:
parent
dfaf752d73
commit
7510788533
@ -882,7 +882,7 @@ void Viewer::changeColor(QColor c){
|
||||
|
||||
void Viewer::animate(){
|
||||
clock_t time = clock();
|
||||
double dt = time - startTime;
|
||||
double dt = 1/0.006;//time - startTime;
|
||||
frame += dt * 0.006 * frame_mult; // 60fps
|
||||
startTime = time;
|
||||
update();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user