Improved code based on CppCheck results
None of this should change the engine's behavior, but the code is better this way. Former-commit-id: 0127769848fc1f7fc8006ee607985cfc0ead2965
This commit is contained in:
@@ -130,10 +130,6 @@ void NzSubMesh::GenerateTangents()
|
||||
dv[0] = positions[iterator[1]] - pos0;
|
||||
dv[1] = positions[iterator[2]] - pos0;
|
||||
|
||||
NzVector2f duv[2];
|
||||
duv[0] = uv1 - uv0;
|
||||
duv[1] = uv2 - uv0;
|
||||
|
||||
float ds[2];
|
||||
ds[0] = uv1.x - uv0.x;
|
||||
ds[1] = uv2.x - uv0.x;
|
||||
|
||||
Reference in New Issue
Block a user