Created
June 19, 2016 10:50
-
-
Save mmanishh/2c0b7ba31bac07da7e6c0f5d7beced9d 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*ct.objMathHelper.Cos[t]*ct.objMathHelper.Cos[t]*ct.objMathHelper.Cos[t]*ct.objMathHelper.Cos[t]*ct.objMathHelper.Cos[t]) | |
+ ct.objMathHelper.Cos[t]+ mCenter.x, | |
(radius*ct.objMathHelper.Sin[t]*ct.objMathHelper.Sin[t]*ct.objMathHelper.Sin[t]*ct.objMathHelper.Sin[t]*ct.objMathHelper.Sin[t]) | |
-ct.objMathHelper.Sin[t]+ mCenter.y | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment