Update rmodels.c

This commit is contained in:
Kyle 2025-08-14 09:57:52 -04:00 committed by GitHub
parent b59564de58
commit 176a25e16d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3801,7 +3801,7 @@ void DrawModelEx(Model model, Vector3 position, Vector3 rotationAxis, float rota
// Draw a model with pro parameters // Draw a model with pro parameters
void DrawModelPro(Model model, Matrix transform, Color tint) void DrawModelPro(Model model, Matrix transform, Color tint)
{ {
// Combine model transformation matrix (model.transform) with matrix generated by function parameters (matTransform) // Combine model transformation matrix (model.transform) with matrix passed in (transform)
model.transform = MatrixMultiply(model.transform, transform); model.transform = MatrixMultiply(model.transform, transform);
for (int i = 0; i < model.meshCount; i++) for (int i = 0; i < model.meshCount; i++)