| 122 | } |
| 123 | |
| 124 | static void drawRect(float x, float y, float w, float h, float fth, unsigned int col) |
| 125 | { |
| 126 | float verts[4 * 2] = |
| 127 | { |
| 128 | x + 0.5f, y + 0.5f, |
| 129 | x + w - 0.5f, y + 0.5f, |
| 130 | x + w - 0.5f, y + h - 0.5f, |
| 131 | x + 0.5f, y + h - 0.5f, |
| 132 | }; |
| 133 | drawPolygon(verts, 4, fth, col); |
| 134 | } |
| 135 | |
| 136 | /* |
| 137 | static void drawEllipse(float x, float y, float w, float h, float fth, unsigned int col) |
no test coverage detected