add function to retrieve time from GLFW

This commit is contained in:
2025-02-21 08:49:46 +00:00
parent c81ca5dcf3
commit 7ad521e444
2 changed files with 5 additions and 0 deletions

View File

@@ -51,3 +51,7 @@ void setClipboardString (GLFWwindow *window, const char *copyString) {
glfwSetClipboardString(window, copyString);
}
double getTime() {
return glfwGetTime();
}