예제 #1
0
파일: time.c 프로젝트: csulmone/glfw
GLFWAPI double glfwGetTime(void)
{
    if (!_glfwInitialized)
    {
        _glfwInputError(GLFW_NOT_INITIALIZED, NULL);
        return 0.0;
    }

    return _glfwPlatformGetTime();
}
예제 #2
0
파일: time.c 프로젝트: Laar/GLFW-b
GLFWAPI double GLFWAPIENTRY glfwGetTime( void )
{
    // Is GLFW initialized?
    if( !_glfwInitialized )
    {
        return 0.0;
    }

    return _glfwPlatformGetTime();
}
예제 #3
0
GLFWAPI double glfwGetTime(void)
{
    _GLFW_REQUIRE_INIT_OR_RETURN(0.0);
    return _glfwPlatformGetTime();
}