diff --git a/src/main.cpp b/src/main.cpp index 1221c3e..0580561 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,7 +9,7 @@ using namespace std; // Constants const TGAColor white = TGAColor(255, 255, 255, 255); const TGAColor red = TGAColor(255, 0, 0, 255); -const TGAColor purple = TGAColor(255, 0, 255, 255); +const TGAColor purple = TGAColor(150, 47, 254, 255); const int windowHeight = 800; const int windowWidth = 800; @@ -57,11 +57,11 @@ int main(int argc, char **argv) { int y0 = (v0.y + 1.0) * windowHeight / 2.0; int x1 = (v1.x + 1.0) * windowWidth / 2.0; int y1 = (v1.y + 1.0) * windowHeight / 2.0; - line(x0, y0, x1, y1, image, white); + line(x0, y0, x1, y1, image, purple); } } - image. flip_vertically(); // Origin at bottom left of image. + image.flip_vertically(); // Origin at bottom left of image. image.write_tga_file("output.tga"); delete model; return 0;