diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-09-05 12:57:06 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-09-05 12:57:06 +0000 |
commit | 4ce57716fa17aac015a683e0eac2857699f5b8d5 (patch) | |
tree | 010bb1f93093c6d324dd61dd5fd9574ea26c7f9a /src | |
parent | 14b61d030c6b17a7c4d5c6eee03e73c96fa100ec (diff) |
Make REFLECTION_VECTOR_MARKER_2 green
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@120 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src')
-rw-r--r-- | src/displaywindow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/displaywindow.c b/src/displaywindow.c index 47d7ffd..fa66382 100644 --- a/src/displaywindow.c +++ b/src/displaywindow.c @@ -288,6 +288,7 @@ static void displaywindow_gl_create_list(DisplayWindow *dw) { GLfloat blue[] = { 0.0, 0.0, 0.5, 1.0 }; GLfloat blue_spec[] = { 0.0, 0.0, 1.0, 1.0 }; GLfloat red[] = { 1.0, 0.0, 0.0, 1.0 }; + GLfloat green[] = { 0.0, 1.0, 0.0, 1.0 }; GLfloat yellow[] = { 1.0, 1.0, 0.0, 1.0 }; GLfloat glass[] = { 0.2, 0.0, 0.8, 000.1 }; GLfloat glass_spec[] = { 0.8, 0.8, 0.8, 1.0 }; @@ -493,7 +494,7 @@ static void displaywindow_gl_create_list(DisplayWindow *dw) { if ( reflection->type == REFLECTION_VECTOR_MARKER_2 ) { - glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, yellow); + glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, green); glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, black); glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, 0.0); glBegin(GL_LINES); |