mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-10-26 12:27:01 +00:00 
			
		
		
		
	Tweaks
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								examples/models/models_animation.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								examples/models/models_animation.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 65 KiB | 
| @@ -64,7 +64,7 @@ int main() | ||||
|     int offsetLoc = GetShaderLocation(shader, "offset"); | ||||
|  | ||||
|     // Tell the shader what the screen dimensions, zoom, offset and c are | ||||
|     float screenDims[2] = { (float)screenWidth, (float)screenHeight }; | ||||
|     float screenDims[2] = { (float)GetScreenWidth(), (float)GetScreenHeight() }; | ||||
|     SetShaderValue(shader, GetShaderLocation(shader, "screenDims"), screenDims, UNIFORM_VEC2); | ||||
|      | ||||
|     SetShaderValue(shader, cLoc, c, UNIFORM_VEC2); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ray
					Ray