Searched refs:g_Time (Results 1 – 6 of 6) sorted by relevance
34 static double g_Time = 0.0; variable120 g_Time = 0.0; in ImGui_ImplAndroid_Init()185 io.DeltaTime = g_Time > 0.0 ? (float)(current_time - g_Time) : (float)(1.0f / 60.0f); in ImGui_ImplAndroid_NewFrame()186 g_Time = current_time; in ImGui_ImplAndroid_NewFrame()
38 static int g_Time = 0; // Current time, in milliseconds variable50 g_Time = 0; in ImGui_ImplGLUT_Init()103 int delta_time_ms = (current_time - g_Time); in ImGui_ImplGLUT_NewFrame()107 g_Time = current_time; in ImGui_ImplGLUT_NewFrame()
34 static double g_Time = 0.0f; variable282 io.DeltaTime = g_Time > 0.0 ? (float)(current_time - g_Time) : (float)(1.0f / 60.0f); in ImGui_Marmalade_NewFrame()283 g_Time = current_time; in ImGui_Marmalade_NewFrame()
43 static double g_Time = 0.0;249 if (g_Time == 0.0)252 g_Time = GetMachAbsoluteTimeInSeconds();255 io.DeltaTime = (float)(current_time - g_Time);256 g_Time = current_time;
36 static guint64 g_Time = 0; variable248 io.DeltaTime = g_Time > 0 ? ((float)(current_time - g_Time) / 1000000) : (float)(1.0f/60.0f); in ImGui_ImplGtk3_NewFrame()249 g_Time = current_time; in ImGui_ImplGtk3_NewFrame()
59 static float g_Time; // g_TimeValue converted to float, in seconds. variable1165 const float f = sin(g_Time * (PI * 2.f)) * 0.5f + 0.5f; in Update()1183 mat4 cube1World = mat4::RotationZ(g_Time); in Update()1191 mat4::RotationX(g_Time * 2.0f) * in Update()1504 g_Time = (float)newTimeValue * 0.001f; in main()