change purple to be nicer
This commit is contained in:
@@ -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,7 +57,7 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user