Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: EuclidPoint.cpp
- Revision:
- 5:d7d16cb9c974
- Parent:
- 1:bb1507f0bb64
--- a/EuclidPoint.cpp Tue May 12 16:21:33 2015 +0000 +++ b/EuclidPoint.cpp Mon Aug 17 21:56:25 2015 +0000 @@ -8,7 +8,7 @@ degree = 360 + degree; } double dradius = sqrt((double)(x * x ) + (double)(y * y)); - int radius = rint(dradius) - 1; + int radius = rint(dradius) - 2; Point pointer = Point(degree, z, radius); return pointer; }