bx math API cleanup.

This commit is contained in:
Branimir Karadžić
2018-01-13 15:33:50 -08:00
parent e38c7bfaec
commit 49a75f2fb1
31 changed files with 256 additions and 242 deletions

View File

@@ -253,7 +253,7 @@ namespace bgfx
{
float tmp[3];
bx::vec3Sub(tmp, _pos, vertexPos(_vertices, _stride, _index) );
return bx::fsqrt(bx::vec3Dot(tmp, tmp) );
return bx::sqrt(bx::vec3Dot(tmp, tmp) );
}
typedef float (*KeyFn)(float, float, float);