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

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

    _glfwPlatformSetTime( time );
}
예제 #3
0
GLFWAPI void glfwSetTime(double time)
{
    _GLFW_REQUIRE_INIT();

    if (time != time || time < 0.0 || time > 18446744073.0)
    {
        _glfwInputError(GLFW_INVALID_VALUE, "Invalid time");
        return;
    }

    _glfwPlatformSetTime(time);
}
예제 #4
0
GLFWAPI void glfwSetTime(double time)
{
    _GLFW_REQUIRE_INIT();
    _glfwPlatformSetTime(time);
}