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:
- 16:64cd7bc094f9
- Parent:
- 14:885915260e25
- Child:
- 17:3c9672c6e532
--- a/Cube/Cube.h Sun Mar 31 14:56:55 2019 +0000 +++ b/Cube/Cube.h Sun Mar 31 18:05:01 2019 +0000 @@ -10,13 +10,14 @@ Face faces[6]; double xPos, yPos, zPos; public: - Cube(double x, double y, double z, double size); - Face getFace(int index); - void updateFaceVerticies(double (&verticies)[8][3]); - bool tooClose(); - void rotateX(double angle); - void rotateY(double angle); - void rotateZ(double angle); - void translate(double x, double y, double z); - bool despawn(); + Cube(); + Cube(double x, double y, double z, double size); + Face getFace(int index); + void updateFaceVerticies(double (&verticies)[8][3]); + bool tooClose(); + void rotateX(double angle); + void rotateY(double angle); + void rotateZ(double angle); + void translate(double x, double y, double z); + bool despawn(); }; \ No newline at end of file