summaryrefslogtreecommitdiffhomepage
path: root/src/models.c
diff options
context:
space:
mode:
authorRay <[email protected]>2020-12-03 20:16:46 +0100
committerRay <[email protected]>2020-12-03 20:16:46 +0100
commitd1119816d7114fe89b2ecc4954770342eb69d824 (patch)
treeae61daf19c29bcb4ab931620957b5fa63041d1c7 /src/models.c
parent0540f0ad3221e8deced607d80936ae1fc0f39434 (diff)
downloadraylib-d1119816d7114fe89b2ecc4954770342eb69d824.tar.gz
raylib-d1119816d7114fe89b2ecc4954770342eb69d824.zip
Review comment
Diffstat (limited to 'src/models.c')
-rw-r--r--src/models.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/models.c b/src/models.c
index 4ce4f825..c0b1bf05 100644
--- a/src/models.c
+++ b/src/models.c
@@ -2602,13 +2602,6 @@ void DrawModelEx(Model model, Vector3 position, Vector3 rotationAxis, float rota
for (int i = 0; i < model.meshCount; i++)
{
- // TODO: Review color + tint premultiplication mechanism
-
- // (codifies) Ray not only does this work as expected but
- // multiplying *is* definately the way to tint
- // can we call it reviewed ?
-
- // would you prefer an extra model.tint, that rlDrawMesh uses ?
Color color = model.materials[model.meshMaterial[i]].maps[MAP_DIFFUSE].color;
Color colorTint = WHITE;