Removed debug skinning clock

Former-commit-id: ee7dceb2863943952c9c0175fb3a32b136b9f84b
This commit is contained in:
Lynix 2012-11-22 12:11:26 +01:00
parent c1879d6bf9
commit f4591bd331
1 changed files with 0 additions and 7 deletions

View File

@ -3,7 +3,6 @@
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Utility/SkeletalMesh.hpp>
#include <Nazara/Core/Clock.hpp>
#include <Nazara/Utility/Mesh.hpp>
#include <Nazara/Utility/Skeleton.hpp>
#include <Nazara/Utility/VertexStruct.hpp>
@ -255,8 +254,6 @@ void NzSkeletalMesh::Skin(const NzSkeleton* skeleton)
NzVertexStruct_XYZ_Normal_UV_Tangent* inputVertex = reinterpret_cast<NzVertexStruct_XYZ_Normal_UV_Tangent*>(m_impl->bindPoseBuffer);
NzVertexStruct_XYZ_Normal_UV_Tangent* outputVertex = reinterpret_cast<NzVertexStruct_XYZ_Normal_UV_Tangent*>(outputBuffer);
NzClock c;
const NzJoint* joints = skeleton->GetJoints();
unsigned int vertexCount = m_impl->vertexBuffer->GetVertexCount();
for (unsigned int i = 0; i < vertexCount; ++i)
@ -291,10 +288,6 @@ void NzSkeletalMesh::Skin(const NzSkeleton* skeleton)
outputVertex++;
}
nzUInt64 t = c.GetMicroseconds();
NazaraError("Skinning took a total of " + NzString::Number(t) + "us\n\n");
if (!m_impl->vertexBuffer->Unmap())
NazaraWarning("Failed to unmap vertex buffer");
}