diff options
author | 2015-03-30 14:36:33 +0200 | |
---|---|---|
committer | 2015-03-30 14:36:33 +0200 | |
commit | fadbc9808c682c1c9cc7af89a35d2e4fa3faa6dc (patch) | |
tree | 1ca878aa70cf67e6419b283cafc1ae6515b377ef /3rdparty/bgfx/examples/common/bounds.cpp | |
parent | 86ac81dd3399acb04e99a4ddcd3acc5a622aa4ec (diff) |
Updated to latest 3rdparty (nw)
Diffstat (limited to '3rdparty/bgfx/examples/common/bounds.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/common/bounds.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/bgfx/examples/common/bounds.cpp b/3rdparty/bgfx/examples/common/bounds.cpp index 4af4555511d..8fc91b63e99 100644 --- a/3rdparty/bgfx/examples/common/bounds.cpp +++ b/3rdparty/bgfx/examples/common/bounds.cpp @@ -264,9 +264,9 @@ void calcMinBoundingSphere(Sphere& _sphere, const void* _vertices, uint32_t _num { position = (float*)&vertex[index*_stride]; - float xx = position[0] - center[0]; - float yy = position[1] - center[1]; - float zz = position[2] - center[2]; + xx = position[0] - center[0]; + yy = position[1] - center[1]; + zz = position[2] - center[2]; float distSq = xx*xx + yy*yy + zz*zz; if (distSq > maxDistSq) |