mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-10-26 12:27:01 +00:00 
			
		
		
		
	Corrected issues on examples
This commit is contained in:
		| @@ -89,7 +89,7 @@ int main() | |||||||
|             cursorColor = PURPLE; |             cursorColor = PURPLE; | ||||||
|             hitObjectName = "Triangle"; |             hitObjectName = "Triangle"; | ||||||
|  |  | ||||||
|             bary = VectorBarycenter(nearestHit.position, ta, tb, tc); |             bary = Vector3Barycenter(nearestHit.position, ta, tb, tc); | ||||||
|             hitTriangle = true; |             hitTriangle = true; | ||||||
|         }  |         }  | ||||||
|         else hitTriangle = false; |         else hitTriangle = false; | ||||||
|   | |||||||
| @@ -65,7 +65,7 @@ int main() | |||||||
|                 DrawText("USING CUSTOM SHADER", 190, 40, 10, RED); |                 DrawText("USING CUSTOM SHADER", 190, 40, 10, RED); | ||||||
|  |  | ||||||
|                 DrawRectangle(250 - 60, 90, 120, 60, RED); |                 DrawRectangle(250 - 60, 90, 120, 60, RED); | ||||||
|                 DrawRectangleGradient(250 - 90, 170, 180, 130, MAROON, GOLD); |                 DrawRectangleGradientH(250 - 90, 170, 180, 130, MAROON, GOLD); | ||||||
|                 DrawRectangleLines(250 - 40, 320, 80, 60, ORANGE); |                 DrawRectangleLines(250 - 40, 320, 80, 60, ORANGE); | ||||||
|  |  | ||||||
|             // Activate our default shader for next drawings |             // Activate our default shader for next drawings | ||||||
|   | |||||||
| @@ -46,7 +46,7 @@ int main() | |||||||
|             DrawCircleLines(screenWidth/4, 340, 80, DARKBLUE); |             DrawCircleLines(screenWidth/4, 340, 80, DARKBLUE); | ||||||
|  |  | ||||||
|             DrawRectangle(screenWidth/4*2 - 60, 100, 120, 60, RED); |             DrawRectangle(screenWidth/4*2 - 60, 100, 120, 60, RED); | ||||||
|             DrawRectangleGradient(screenWidth/4*2 - 90, 170, 180, 130, MAROON, GOLD); |             DrawRectangleGradientH(screenWidth/4*2 - 90, 170, 180, 130, MAROON, GOLD); | ||||||
|             DrawRectangleLines(screenWidth/4*2 - 40, 320, 80, 60, ORANGE); |             DrawRectangleLines(screenWidth/4*2 - 40, 320, 80, 60, ORANGE); | ||||||
|  |  | ||||||
|             DrawTriangle((Vector2){screenWidth/4*3, 80}, |             DrawTriangle((Vector2){screenWidth/4*3, 80}, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 raysan5
					raysan5