Implement Color Palletes
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -43,8 +43,8 @@ void display() {
|
||||
glEnd();
|
||||
|
||||
JGL::FillRect2D(JGL::Colors::White, {0, 0}, {128, 128});
|
||||
JGL::OutlineRect2D(JGL::Colors::BrightRed, {0, 0}, {128, 128}, 4);
|
||||
JGL::DrawPixel2D(JGL::Colors::BrightGreen, {0, 0});
|
||||
JGL::OutlineRect2D(JGL::Colors::Red, {0, 0}, {128, 128}, 4);
|
||||
JGL::DrawPixel2D(JGL::Colors::Green, {0, 0});
|
||||
|
||||
glBegin(GL_TRIANGLES);
|
||||
glColor3f(0.0f, 0.0f, 1.f); // Blue
|
||||
|
Reference in New Issue
Block a user