Update rmodels.c
This commit is contained in:
parent
b59564de58
commit
176a25e16d
|
|
@ -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++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user