saved window position on startup.
tidy up moar. exercises.
This commit is contained in:
		
							parent
							
								
									1a96538a0e
								
							
						
					
					
						commit
						437b1ccd44
					
				
					 6 changed files with 74 additions and 31 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +0,0 @@
 | 
			
		|||
#version 420 core
 | 
			
		||||
layout (location = 0) in vec3 aPos;
 | 
			
		||||
 | 
			
		||||
void main() {
 | 
			
		||||
    gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										10
									
								
								res/shaders/vertex.vert
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								res/shaders/vertex.vert
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
#version 420 core
 | 
			
		||||
layout (location = 0) in vec3 aPos;
 | 
			
		||||
//layout (location = 0) in vec2 aPos;
 | 
			
		||||
//layout (location = 0) in float aPosx;
 | 
			
		||||
//layout (location = 1) in float aPosy;
 | 
			
		||||
//layout (location = 2) in float aPosz;
 | 
			
		||||
 | 
			
		||||
void main() {
 | 
			
		||||
    gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue