diff --git a/src/Nazara/Utility/Algorithm.cpp b/src/Nazara/Utility/Algorithm.cpp index f725be2ae..7d7e6c939 100644 --- a/src/Nazara/Utility/Algorithm.cpp +++ b/src/Nazara/Utility/Algorithm.cpp @@ -726,7 +726,6 @@ void NzGenerateBox(const NzVector3f& lengths, const NzVector3ui& subdivision, co NzComputePlaneIndexVertexCount(NzVector2ui(subdivision.x, subdivision.z), &yIndexCount, &yVertexCount); NzComputePlaneIndexVertexCount(NzVector2ui(subdivision.x, subdivision.y), &zIndexCount, &zVertexCount); - NzMeshVertex* oldVertices = vertices; NzMatrix4f transform; NzVector3f halfLengths = lengths/2.f;