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.
Dependencies: mbed
Diff: Cube/Cube.h
- Revision:
- 7:15543cb10a14
- Parent:
- 6:75031d14fc0d
- Child:
- 8:a667bc5050c1
--- a/Cube/Cube.h Sat Feb 23 16:19:29 2019 +0000 +++ b/Cube/Cube.h Sat Feb 23 17:45:43 2019 +0000 @@ -6,11 +6,11 @@ class Cube { private: - float verticies[8][3]; + double verticies[8][3]; Face faces[6]; public: - Cube(float x, float y, float z, float size); + Cube(double x, double y, double z, double size); Face getFace(int index); - void rotateX(float angle); - void translate(float x, float y, float z); + void rotateX(double angle); + void translate(double x, double y, double z); }; \ No newline at end of file