mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Let's actually use the variable we initialized.
This commit is contained in:
parent
7bedcd3d5a
commit
255e5179ae
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ bool BlendFace::render(float alpha) {
|
|||
for (const int* index = _geometry.blendshapes[i].indices.constData(),
|
||||
*end = index + _geometry.blendshapes[i].indices.size(); index != end; index++, vertex++, normal++) {
|
||||
_blendedVertices[*index] += *vertex * coefficient;
|
||||
_blendedNormals[*index] += *normal * coefficient * NORMAL_COEFFICIENT_SCALE;
|
||||
_blendedNormals[*index] += *normal * normalCoefficient;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue