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
Cube/Cube.h
- Committer:
- el17cd
- Date:
- 2019-02-23
- Revision:
- 7:15543cb10a14
- Parent:
- 6:75031d14fc0d
- Child:
- 8:a667bc5050c1
File content as of revision 7:15543cb10a14:
#include "mbed.h" #ifndef FACE_H #define FACE_H #include "Face.h" #endif class Cube { private: double verticies[8][3]; Face faces[6]; public: Cube(double x, double y, double z, double size); Face getFace(int index); void rotateX(double angle); void translate(double x, double y, double z); };