Update README.md and submodules
This commit is contained in:
parent
33efffe759
commit
569a3cd733
4 changed files with 56 additions and 54 deletions
|
@ -45,11 +45,6 @@
|
|||
|
||||
std::string System_GetProperty(SystemProperty prop) { return ""; }
|
||||
|
||||
|
||||
static const float asinCoef[8] = {
|
||||
0
|
||||
};
|
||||
|
||||
#define M_PI_2 1.57079632679489661923
|
||||
|
||||
// TODO:
|
||||
|
@ -127,13 +122,9 @@ float fastasin5(float x)
|
|||
float sign = x >= 0.0f ? 1.0f : -1.0f;
|
||||
x = fabs(x);
|
||||
float fRoot = sqrtf(1.0f - x);
|
||||
float fResult = -0.0187293f;
|
||||
fResult *= x;
|
||||
fResult += 0.0742610f;
|
||||
fResult *= x;
|
||||
fResult -= 0.2121144f;
|
||||
fResult *= x;
|
||||
fResult += 1.5707288f;
|
||||
float fResult = 0.0742610f + -0.0187293f * x;
|
||||
fResult = -0.2121144f + fResult * x;
|
||||
fResult = 1.5707288f + fResult * x;
|
||||
fResult = M_PI/2 - fRoot*fResult;
|
||||
return sign * fResult;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue