diff --git a/projects/fire_works/src/main.cpp b/projects/fire_works/src/main.cpp index acc2d1472aafe0339652cd5d1e136d7643ddc42a..ebfa88d7b91bf274817ecb93113bb86ed5364e9e 100644 --- a/projects/fire_works/src/main.cpp +++ b/projects/fire_works/src/main.cpp @@ -656,8 +656,10 @@ int main(int argc, const char **argv) { current = next; float time_values [2]; - time_values[0] = static_cast<float>(0.000001 * static_cast<double>(time.count())); - time_values[1] = static_cast<float>(0.000001 * static_cast<double>(deltatime.count())); + time_values[0] = 0.000001f * static_cast<float>(time.count()); + time_values[1] = 0.000001f * static_cast<float>(deltatime.count()); + + std::cout << time_values[0] << " " << time_values[1] << std::endl; auto cmdStream = core.createCommandStream(vkcv::QueueType::Graphics);