Created
June 19, 2016 11:29
-
-
Save mmanishh/afb0ed12a17c49d94640ecce64db8247 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public PointF calcNextPoint(float theta) { | |
int t = (int) (theta * 1000); | |
float temp = (radius * ct.objMathHelper.Sin[t]); | |
return | |
new PointF(radius*(3*ct.objMathHelper.Sin[t]-4*ct.objMathHelper.Sin[t]*ct.objMathHelper.Sin[t]*ct.objMathHelper.Sin[t])+mCenter.x | |
,radius*0.6f*ct.objMathHelper.Cos[t]+mCenter.y | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment