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: Point.cpp
- Revision:
- 1:bb1507f0bb64
- Parent:
- 0:ded79d89abdf
- Child:
- 4:f1e33a234a74
--- a/Point.cpp Fri May 01 05:33:50 2015 +0000 +++ b/Point.cpp Fri May 01 09:22:50 2015 +0000 @@ -7,28 +7,28 @@ positionHeight = 4; positionDistance = 8; //int offAngles [8] = {-3, 174, 44, 228, 90, 270, 135, 315}; - offAngles[0] = -3; + offAngles[0] = -6; offAngles[1] = 174; offAngles[2] = 44; offAngles[3] = 228; offAngles[4] = 90; offAngles[5] = 270; offAngles[6] = 135; - offAngles[7] = 315; + offAngles[7] = 323; } Point :: Point (int posRadian, int posHeight, int posDistance){ positionRadian = posRadian; positionHeight = posHeight; positionDistance = posDistance; - offAngles[0] = -3; + offAngles[0] = -6; offAngles[1] = 174; offAngles[2] = 44; offAngles[3] = 228; offAngles[4] = 90; offAngles[5] = 270; offAngles[6] = 135; - offAngles[7] = 315; + offAngles[7] = 323; } int Point :: getArraySlice (void){ return (int) (positionRadian + (offAngles[positionHeight]))%360;