float finalRadius = (float)Math.hypot(cx, cy);
And...the answer is.....
var finalRadius = (float)Math.Sqrt(cx * cx + cy * cy);
C#, .Net, MVC, jQuery, JavaScript, HTML, CSS, Umbraco, Phonegap / Cordova, Xamarin, iPhone, iOS, Swift, Android, Windows, apps, websites, Full Stack, ecommerce, Facebook, responsive, front-end. Freelance developer, programmer for web and mobile in Bristol, UK.
float finalRadius = (float)Math.hypot(cx, cy);
And...the answer is.....
var finalRadius = (float)Math.Sqrt(cx * cx + cy * cy);
No comments:
Post a Comment
Comments are moderated, so you'll have to wait a little bit before they appear!