Started working on modularizing PSC and ABuffer

This commit is contained in:
Jonas Strandstedt
2014-09-26 17:03:59 +02:00
parent c526c0f38d
commit 2d359fd48c
17 changed files with 128 additions and 158 deletions

View File

@@ -363,11 +363,11 @@ void InteractionHandler::keyboardCallback(int key, int action) {
distance(dist);
}
if (key == SGCT_KEY_Y) {
PowerScaledScalar dist(-speed * 100.0 * dt, 2.0);
PowerScaledScalar dist(-speed * 100.0 * dt, 6.0);
distance(dist);
}
if (key == SGCT_KEY_H) {
PowerScaledScalar dist(speed * 100.0 * dt, 2.0);
PowerScaledScalar dist(speed * 100.0 * dt, 6.0);
distance(dist);
}
}