Skip to content
Snippets Groups Projects
Unverified Commit 24a58201 authored by TheJackiMonster's avatar TheJackiMonster
Browse files

Added output for time

parent 87cb803d
No related branches found
No related tags found
1 merge request!106Created initial firework project
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment