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
Rasturizer/Rasturizer.h@4:759a5c34e239, 2019-02-22 (annotated)
- Committer:
- el17cd
- Date:
- Fri Feb 22 19:05:28 2019 +0000
- Revision:
- 4:759a5c34e239
- Parent:
- 3:2e31dfcb712a
- Child:
- 11:2cd6341136ca
Cube Class implemented, when instantiated it created 12 vertices and 6 faces
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| el17cd | 2:a5bc7b3779f7 | 1 | #include "mbed.h" |
| el17cd | 4:759a5c34e239 | 2 | #include "N5110.h" |
| el17cd | 4:759a5c34e239 | 3 | |
| el17cd | 4:759a5c34e239 | 4 | #ifndef FACE_H |
| el17cd | 4:759a5c34e239 | 5 | #define FACE_H |
| el17cd | 3:2e31dfcb712a | 6 | #include "Face.h" |
| el17cd | 4:759a5c34e239 | 7 | #endif |
| el17cd | 4:759a5c34e239 | 8 | |
| el17cd | 2:a5bc7b3779f7 | 9 | |
| el17cd | 2:a5bc7b3779f7 | 10 | |
| el17cd | 2:a5bc7b3779f7 | 11 | class Rasturizer { |
| el17cd | 1:044238f7bdda | 12 | public: |
| el17cd | 4:759a5c34e239 | 13 | Rasturizer(); |
| el17cd | 4:759a5c34e239 | 14 | void drawFace(Face face); |
| el17cd | 4:759a5c34e239 | 15 | void clear(); |
| el17cd | 4:759a5c34e239 | 16 | void refresh(); |
| el17cd | 1:044238f7bdda | 17 | }; |
| el17cd | 1:044238f7bdda | 18 |