Faster end scene falling animation.

This commit is contained in:
Fredrick Amnehagen 2020-08-29 15:52:15 +02:00
parent 1372ac4a6b
commit 2233015e7b
1 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ shared_ptr<Entity> KartFactory::createRotatingKart(const vec3 position)
}), }),
vec3(1000, 10, 1000), vec3(1000, 10, 1000),
vec3(1000, 0, 1000), vec3(1000, 0, 1000),
static_cast<milliseconds>(1500), static_cast<milliseconds>(800),
[] () {Log::write(LogLevel::debug, "Translation end"); } )); [] () {Log::write(LogLevel::debug, "Translation end"); } ));
// Add rotation animation // Add rotation animation
@ -216,7 +216,7 @@ shared_ptr<Entity> KartFactory::createRotatingKart(const vec3 position)
}), }),
vec3(0, 45, 0), vec3(0, 45, 0),
vec3(0, 0, 0), vec3(0, 0, 0),
static_cast<milliseconds>(1500), static_cast<milliseconds>(800),
[] () {Log::write(LogLevel::debug, "Rotation end"); } )); [] () {Log::write(LogLevel::debug, "Rotation end"); } ));