ELEC2645 (2018/19) / Mbed 2 deprecated el17cd

Dependencies:   mbed

Revision:
3:2e31dfcb712a
Parent:
2:a5bc7b3779f7
Child:
4:759a5c34e239
--- a/Rasturizer/Rasturizer.cpp	Fri Feb 22 13:45:34 2019 +0000
+++ b/Rasturizer/Rasturizer.cpp	Fri Feb 22 14:01:20 2019 +0000
@@ -2,9 +2,10 @@
 #include "Rasturizer.h"
 
 
-Rasturizer::Rasturizer(){//Face face){
-    /*lcd.init();
-    float f = face.GetVertexValue(0,0);
+
+
+Rasturizer::Rasturizer(Face face, N5110 lcd){
+    lcd.init();
     float points[4][2] = {{rand()%20,rand()%20},{20+rand()%20, rand()%20}, {20+rand()%20,20+rand()%20}, {rand()%20,20+rand()%20}};
 
     int diffX1 = points[0][0]-points[1][0];
@@ -47,5 +48,5 @@
                  points[3][0],
                  points[3][1],
                  1);
-    */
+    
 }
\ No newline at end of file