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:
- 7:15543cb10a14
- Parent:
- 4:759a5c34e239
- Child:
- 9:5915fc800824
diff -r 75031d14fc0d -r 15543cb10a14 Face/Face.cpp
--- a/Face/Face.cpp Sat Feb 23 16:19:29 2019 +0000
+++ b/Face/Face.cpp Sat Feb 23 17:45:43 2019 +0000
@@ -4,7 +4,7 @@
#include "Face.h"
#endif
-Face::Face(){//float (&PointArray)[4][3]){
+Face::Face(){//double (&PointArray)[4][3]){
/*
for(int vertex = 0; vertex < 4; vertex++){
for(int axis = 0; axis < 3; axis++){
@@ -12,7 +12,7 @@
}
}*/
}
-void Face::setVerticies(float (&PointArray)[4][3]){
+void Face::setVerticies(double (&PointArray)[4][3]){
for(int vertex = 0; vertex < 4; vertex++){
for(int axis = 0; axis < 3; axis++){
verticies[vertex][axis] = PointArray[vertex][axis];
@@ -20,6 +20,6 @@
}
}
-float Face::getVertexValue(int vertex, int axis){
+double Face::getVertexValue(int vertex, int axis){
return verticies[vertex][axis];
}
\ No newline at end of file