Shear coaster's path
It is simple. Yes, it is. Now you know why I said I made fool of myself.
This is the math equation used to make this path:
x = i
z = 6f * (float)Math.Sin(x * Math.PI / 40) + 2f * (float)Math.Sin(x * Math.PI / 20)
This blog is a sister of my other blog: Inside Sherls' Right Brain. In this blog I focus mainly on my technical side as software engineer. I share my current project, my job search, my programming practice, just everything about programming. I took a Master's in CS with emphasis Game Programming. Yes, it means this blog will focus more on game programming. :)
No comments:
Post a Comment