qvolray

diff src/volray.cc @ 30:40df2cdc6323

transfer function window
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Apr 2012 22:10:30 +0300
parents 93d889a3726a
children 437e1ba9cf39
line diff
     1.1 --- a/src/volray.cc	Sat Apr 14 20:52:53 2012 +0300
     1.2 +++ b/src/volray.cc	Sat Apr 14 22:10:30 2012 +0300
     1.3 @@ -233,8 +233,8 @@
     1.4  {
     1.5  	glMatrixMode(GL_MODELVIEW);
     1.6  	glPushMatrix();
     1.7 -	glTranslatef(-0.9, -0.9, 0);
     1.8 -	glScalef(0.5, 0.1, 1);
     1.9 +	glTranslatef(-1, -1, 0);
    1.10 +	glScalef(2, 2, 1);
    1.11  
    1.12  	glBindTexture(GL_TEXTURE_1D, xfer_tex);
    1.13  	glEnable(GL_TEXTURE_1D);