Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Renderer/Renderer.h
- Revision:
- 33:02c5048b3b3f
- Parent:
- 32:9c250eda7f3f
- Child:
- 34:5cb9b4d01f5c
--- a/Renderer/Renderer.h Fri Apr 05 15:43:27 2019 +0000 +++ b/Renderer/Renderer.h Mon Apr 29 14:31:44 2019 +0000 @@ -21,6 +21,8 @@ public: Renderer(); void init(); + /** @brief Initialises the LCD and sets the field of view + */ float xTo2D(float x, float z); /** @brief Projects the 3D x coordinate to 2D perspective *@param The 3d x coordinate as a float @@ -47,7 +49,8 @@ *@param The pointer to an array containing the verticies of the face *@param The face object */ - void drawFillLines(float (&points)[4][3], int diffX2, int stepBottomY, int stepTopX, int stepTopY); + void drawFillLines(float (&points)[4][3], int diffX2, int stepBottomY, + int stepTopX, int stepTopY); /** @brief Draw an individual face *@param The pointer to an array containing the verticies of the face *@param The integer difference between the top horizontal edge x coordinates