From: Peter Schaefer Date: Sun, 26 Apr 2015 16:39:05 +0000 (+0200) Subject: rebuild Assimp because of lib->exe bug from assimp X-Git-Url: https://git.leopard-lacewing.eu/?a=commitdiff_plain;h=f16d9a6dfad0406b6e06da0677b87439a1ee7d84;p=cgue_weave.git rebuild Assimp because of lib->exe bug from assimp --- diff --git a/Debug/Assimp32.dll b/Debug/Assimp32.dll deleted file mode 100644 index 216f66e..0000000 Binary files a/Debug/Assimp32.dll and /dev/null differ diff --git a/Debug/assimp.dll b/Debug/assimp.dll new file mode 100644 index 0000000..4f525c6 Binary files /dev/null and b/Debug/assimp.dll differ diff --git a/Weave/Graphix/Model/Model.cpp b/Weave/Graphix/Model/Model.cpp index 6031d92..b203be0 100644 --- a/Weave/Graphix/Model/Model.cpp +++ b/Weave/Graphix/Model/Model.cpp @@ -127,7 +127,7 @@ void Model::updateBB(const uint _numvertices, const float* _vertices) { BBmin = vec3(_vertices[0], _vertices[1], _vertices[2]); BBmax = BBmin; - for (auto i = 3; i < _numvertices * 3; ++i) + for (uint i = 3; i < _numvertices * 3; ++i) { if (_vertices[i] < BBmin[i % 3]) BBmin[i % 3] = _vertices[i]; @@ -144,10 +144,10 @@ void Model::updateBB(const uint _numvertices, const float* _vertices, const mat4 BBmin = (vec3)(_modelMat * vec4(_vertices[0], _vertices[1], _vertices[2],1.f)); BBmax = BBmin; vec3 tmpVert; - for (auto j = 3; j < _numvertices * 3; j += 3) + for (uint j = 3; j < _numvertices * 3; j += 3) { tmpVert = (vec3)(_modelMat * vec4(_vertices[j], _vertices[j + 1], _vertices[j + 2], 1)); - for (auto i = 0; i < 3; ++i) + for (uint i = 0; i < 3; ++i) { if (tmpVert[i] < BBmin[i]) BBmin[i] = tmpVert[i]; diff --git a/bin/Assimp32.dll b/bin/Assimp32.dll deleted file mode 100644 index 216f66e..0000000 Binary files a/bin/Assimp32.dll and /dev/null differ diff --git a/bin/assimp.dll b/bin/assimp.dll new file mode 100644 index 0000000..4f525c6 Binary files /dev/null and b/bin/assimp.dll differ diff --git a/lib/assimp.lib b/lib/assimp.lib new file mode 100644 index 0000000..37cd39b Binary files /dev/null and b/lib/assimp.lib differ diff --git a/lib/x64/assimp.lib b/lib/x64/assimp.lib deleted file mode 100644 index 9ba440e..0000000 Binary files a/lib/x64/assimp.lib and /dev/null differ diff --git a/lib/x86/assimp.lib b/lib/x86/assimp.lib deleted file mode 100644 index e67b84b..0000000 Binary files a/lib/x86/assimp.lib and /dev/null differ