small changes to to get everything working on my end / michal

This commit is contained in:
michal
2014-09-26 17:42:07 -04:00
parent 5427dbdeb2
commit 22fd3acc59
7 changed files with 19 additions and 181 deletions

View File

@@ -355,11 +355,11 @@ void InteractionHandler::keyboardCallback(int key, int action) {
distance(dist);
}
if (key == SGCT_KEY_T) {
PowerScaledScalar dist(-speed * 100.0 * dt, 0.0);
PowerScaledScalar dist(-speed * pow(10,8) * dt, 0.0);
distance(dist);
}
if (key == SGCT_KEY_G) {
PowerScaledScalar dist(speed * 100.0 * dt, 0.0);
PowerScaledScalar dist(speed * pow(10, 8) * dt, 0.0);
distance(dist);
}
if (key == SGCT_KEY_Y) {