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:
- 22:236319885874
- Parent:
- 20:3ca430241df0
- Child:
- 23:eb50ab95bb53
--- a/Cube/Cube.h Tue Apr 02 17:40:59 2019 +0000 +++ b/Cube/Cube.h Wed Apr 03 15:11:12 2019 +0000 @@ -11,9 +11,13 @@ float xPos, yPos, zPos; public: Cube(); - Cube(float x, float y, float z, float size); Face getFace(int index); - void updateFaceVerticies(float (&verticies)[8][3]); + void setVisible(); + void updateFacesVerticies(float (&vert)[8][3]); + void assignFacesVerticies(float (&face0Points)[4][3], + float (&face1Points)[4][3], float (&face2Points)[4][3], + float (&face3Points)[4][3], float (&face4Points)[4][3], + float (&face5Points)[4][3]); bool tooClose(); void rotateX(float angle); void rotateY(float angle);