From fadbc9808c682c1c9cc7af89a35d2e4fa3faa6dc Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 30 Mar 2015 14:36:33 +0200 Subject: Updated to latest 3rdparty (nw) --- 3rdparty/bgfx/examples/common/bounds.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '3rdparty/bgfx/examples/common/bounds.cpp') 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) -- cgit v1.2.3-70-g09d2