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:
- 39:41dcf1604fdf
- Parent:
- 37:524b91130885
diff -r cc5461dd0369 -r 41dcf1604fdf Cube/Cube.h --- a/Cube/Cube.h Mon Apr 29 15:23:07 2019 +0000 +++ b/Cube/Cube.h Tue May 07 16:57:26 2019 +0000 @@ -43,7 +43,10 @@ *@returns A face object corresponding to the index provided */ Face getFace(int index); - /** Sets the faces of the cube to be visible so that they will be rendered + /** Sets the front, left and right faces of the cube to be visible so that they will be rendered (only these 3 are ever seen during gameplay) + */ + void setPartiallyVisible(); + /** Sets the faces of the cube to be visible so that they will be rendered */ void setVisible(); /** Returns whether the cube is too close to the perspective of the user