Example of using "Canvas" form "Graphics" library to display 3D graphics.

Dependencies:   BSP_DISCO_F746NG Graphics mbed

Revision:
3:aca7fe2d44b3
Parent:
1:4a5e329e617b
--- a/Models/Square.h	Fri Nov 11 15:30:07 2016 +0000
+++ b/Models/Square.h	Fri Nov 11 17:06:53 2016 +0000
@@ -8,12 +8,12 @@
 #pragma once
 
 #include <ArduinoGL.h>
-#include "Angle.h"
+#include "Model.h"
 
 /**
 * @brief 3D model of the square
 */
-class Square : public Angle
+class Square : public Model
 {
 public:
 
@@ -23,7 +23,7 @@
     * @brief  Model setup.
     * @retval None
     */
-    void Setup();
+    void virtual Setup();
 
     /**
     * @brief  Renders a square for given view angle.
@@ -32,5 +32,5 @@
     * @param  None
     * @retval None
     */
-    void Render();
+    void virtual Render();
 };