add skeleton:get_color(), skeleton:set_color(...)

This commit is contained in:
MihailRis
2024-07-20 21:15:04 +03:00
parent 0c4cdeaa87
commit 52c39d25d0
5 changed files with 40 additions and 1 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ void SkeletonConfig::render(
}
model = modelOverride.model ? modelOverride.model : model;
if (model) {
batch.draw(skeleton.calculated.matrices[i], glm::vec3(1.0f), model,
batch.draw(skeleton.calculated.matrices[i], skeleton.tint, model,
&skeleton.textures);
}
}