Remove set but unused variables

This commit is contained in:
Turo Lamminen
2022-08-09 10:32:01 +03:00
parent 2e64880abf
commit 90d1464405
6 changed files with 1 additions and 17 deletions

View File

@@ -118,10 +118,8 @@ void ScenePreprocessor::ProcessMesh(aiMesh *mesh) {
// as if they were 2D channels .. just in case an application doesn't handle
// this case
if (2 == mesh->mNumUVComponents[i]) {
size_t num = 0;
for (; p != end; ++p) {
p->z = 0.f;
num++;
}
} else if (1 == mesh->mNumUVComponents[i]) {
for (; p != end; ++p) {