Writing JGL library interface

This commit is contained in:
scientiist
2024-01-20 12:14:41 -06:00
parent eec161769c
commit d49084e99e
3 changed files with 20 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ void display() {
glVertex2f(-0.9f, -0.3f);
glEnd();
JGL::FillRect2D();
JGL::FillRect2D({64, 64}, {128, 128}, JGL::Colors::White);
glBegin(GL_TRIANGLES);
glColor3f(0.0f, 0.0f, 1.f); // Blue