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: Face/Face.cpp
- Revision:
- 13:f4de03202477
- Parent:
- 10:07a23afd5088
- Child:
- 17:3c9672c6e532
diff -r b69657862610 -r f4de03202477 Face/Face.cpp
--- a/Face/Face.cpp Sun Mar 24 16:59:48 2019 +0000
+++ b/Face/Face.cpp Sun Mar 24 17:53:25 2019 +0000
@@ -4,14 +4,18 @@
#include "Face.h"
#endif
-Face::Face(){//double (&PointArray)[4][3]){
- /*
- for(int vertex = 0; vertex < 4; vertex++){
- for(int axis = 0; axis < 3; axis++){
- verticies[vertex][axis] = PointArray[vertex][axis];
- }
- }*/
+Face::Face(){
+}
+
+bool Face::getVisible(){
+ return visible;
}
+
+
+void Face::setVisible(bool v){
+ visible = v;
+}
+
void Face::setVerticies(double (&PointArray)[4][3]){
double z = 0;
for(int vertex = 0; vertex < 4; vertex++){