Searched refs:sCosTable (Results 1 - 1 of 1) sorted by relevance

/haiku/src/servers/app/
H A DAngle.cpp36 static float sCosTable[360]; variable
119 return sCosTable[(int)fAngleValue];
140 while (value > sCosTable[i])
143 // current sCosTable[i] is less than value. Pick the degree value which is closer
145 if ((value - sCosTable[i]) < (sCosTable[i + 1] - value))
289 sCosTable[i] = cosValue;
290 sCosTable[i + 90] = sinValue * -1;
291 sCosTable[i + 180] = cosValue * -1;
292 sCosTable[
[all...]

Completed in 26 milliseconds