Let's actually use the variable we initialized.

This commit is contained in:
Andrzej Kapolka 2013-09-23 13:02:00 -07:00
parent 7bedcd3d5a
commit 255e5179ae

View file

@ -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;
}
}