ELEC2645 (2018/19) / Mbed 2 deprecated el17cd

Dependencies:   mbed

Revision:
36:6fbafc8bed80
Parent:
34:5cb9b4d01f5c
Child:
37:524b91130885
--- a/Face/Face.h	Mon Apr 29 14:53:36 2019 +0000
+++ b/Face/Face.h	Mon Apr 29 14:58:59 2019 +0000
@@ -11,30 +11,30 @@
     float avgZ;
     bool visible;
   public:
-    Face();
     /**brief The constructor of the Face class which instantiates the face object.
     *No parameters are required as the face attributes will be defined after instantiation using the mutator methods.
     */
-    float getVertexValue(int vertex, int axis);
+    Face();
     /**brief An accessor method which returns the value depending on the index of the vertex and the axis required
     *@param The index of which vertex is required
     *@param The axis of the 3 dimensional coordinate required
     @returns The float value of the required vertex in a specific axis
     */
-    bool getVisible();
+    float getVertexValue(int vertex, int axis);
     /**brief An accessor method which returns whether the face is visible or not
     @returns The boolean value of the attribute 'visible'
     */
-    void setVisible(bool v);
+    bool getVisible();
     /**brief An mutator method which sets whether the face is visible or not
     @param A boolean which determines whether the visible attribute will be true or false
     */
-    void setVerticies(float (&PointArray)[4][3]);
+    void setVisible(bool v);
      /**brief A mutator method which sets the verticies of the face
     @param A memory address of a two dimentional array containing each vertex and the values of the x, y and z coordinates
     */
-    float getAvgZ();
+    void setVerticies(float (&PointArray)[4][3]);
     /**brief An accessor method which returns the average z axis value of the faces verticies
     @returns A float representing the average z axis value of the face
     */
+    float getAvgZ();
 };
\ No newline at end of file