Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Tension function
SUBMITTED BY:
Guest
DATE:
April 24, 2014, 2 p.m.
FORMAT:
Text only
SIZE:
236 Bytes
Raw
Download
Tweet
HITS:
1222
Go to comments
Report
double Tension(double x,void *pData)
{
TENSION_DATA *pTensionData = (TENSION_DATA*)pData;
x /= pTensionData->stripWidth;
return (pTensionData->ts + pTensionData->tp*x*x + pTensionData->tc*0.5*(1.0-cos(2*PI*x)));
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus