All pastes #902762 Raw Edit

Something

public text v1 · immutable
·published 2008-02-13 19:15 UTC
rendered paste body
float Drawer::Wrangle(float fX, float fY,float fT)
{
	//This formula needs tuning since division by zero is not very nice
	//return cos((fX+(fX*fT*5)/(-abs(fX)) )/fRadian*2) + cos((fY+ (fY*fT*5)/(-abs(fY)) )/fRadian*2);
	return cos(sqrt((fX*fX) + (fY*fY)));
}