| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -29,15 +29,16 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#include "internal.h" | 
					 | 
					 | 
					 | 
					#include "internal.h" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//************************************************************************ | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//****               Platform implementation functions                **** | 
					 | 
					 | 
					 | 
					////////////////////////////////////////////////////////////////////////// | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//************************************************************************ | 
					 | 
					 | 
					 | 
					//////                       GLFW platform API                      ////// | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					////////////////////////////////////////////////////////////////////////// | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//======================================================================== | 
					 | 
					 | 
					 | 
					//======================================================================== | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					// Return timer value in seconds | 
					 | 
					 | 
					 | 
					// Return timer value in seconds | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//======================================================================== | 
					 | 
					 | 
					 | 
					//======================================================================== | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					double _glfwPlatformGetTime( void ) | 
					 | 
					 | 
					 | 
					double _glfwPlatformGetTime(void) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{ | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    return [NSDate timeIntervalSinceReferenceDate] - | 
					 | 
					 | 
					 | 
					    return [NSDate timeIntervalSinceReferenceDate] - | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					           _glfwLibrary.NS.timer.t0; | 
					 | 
					 | 
					 | 
					           _glfwLibrary.NS.timer.t0; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -47,7 +48,7 @@ double _glfwPlatformGetTime( void ) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					// Set timer value in seconds | 
					 | 
					 | 
					 | 
					// Set timer value in seconds | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//======================================================================== | 
					 | 
					 | 
					 | 
					//======================================================================== | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					void _glfwPlatformSetTime( double time ) | 
					 | 
					 | 
					 | 
					void _glfwPlatformSetTime(double time) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{ | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    _glfwLibrary.NS.timer.t0 = | 
					 | 
					 | 
					 | 
					    _glfwLibrary.NS.timer.t0 = | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        [NSDate timeIntervalSinceReferenceDate] - time; | 
					 | 
					 | 
					 | 
					        [NSDate timeIntervalSinceReferenceDate] - time; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |