![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Example of using "Canvas" form "Graphics" library to display 3D graphics.
Dependencies: BSP_DISCO_F746NG Graphics mbed
Diff: Models/Cube.h
- Revision:
- 3:aca7fe2d44b3
- Parent:
- 1:4a5e329e617b
--- a/Models/Cube.h Fri Nov 11 15:30:07 2016 +0000 +++ b/Models/Cube.h Fri Nov 11 17:06:53 2016 +0000 @@ -9,12 +9,12 @@ #pragma once #include <ArduinoGL.h> -#include "Angle.h" +#include "Model.h" /** * @brief 3D model of the cube */ -class Cube : public Angle +class Cube : public Model { public: @@ -24,13 +24,13 @@ * @brief Model setup. * @retval None */ - void Setup(); + void virtual Setup(); /** * @brief Render single frame on the display. * @retval None */ - void Render(); + void virtual Render(); private: