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

Dependencies:   BSP_DISCO_F746NG Graphics mbed

Revision:
3:aca7fe2d44b3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Models/Bunny.h	Fri Nov 11 17:06:53 2016 +0000
@@ -0,0 +1,38 @@
+//
+// Bunny.h - example of usage graphics commands to create 3D graphics.
+//
+// This example is based on code written by
+// Fabio de Albuquerque Dela Antonio (fabio914 at gmail.com)
+// See : https://github.com/fabio914/arduinogl/blob/master/examples
+//
+
+#pragma once
+
+#include <ArduinoGL.h>
+#include "Model.h"
+
+/**
+* @brief 3D model of the Bunny rabit
+*/
+class Bunny : public Model
+{
+public:
+    Bunny(Display * displayy);
+
+    /**
+    * @brief  Model setup.
+    * @retval None
+    */
+    void virtual Setup();
+
+    /**
+    * @brief  Renders model for given view angle.
+    * @param  None
+    * @retval None
+    */
+    void virtual Render();
+
+private:
+    void DrawModel();
+    void glVertexFromMemory(int i);
+};