rayzor

diff src/scene.cc @ 14:a9a948809c6f

starting the renderer screen, plus misc stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 13 Apr 2014 08:06:21 +0300
parents d94a69933a71
children be616b58df99
line diff
     1.1 --- a/src/scene.cc	Sat Apr 12 23:37:55 2014 +0300
     1.2 +++ b/src/scene.cc	Sun Apr 13 08:06:21 2014 +0300
     1.3 @@ -142,8 +142,7 @@
     1.4  			}
     1.5  		}
     1.6  
     1.7 -		m3d_color(1, 1, selected ? 0.25 : 1);
     1.8 -		nodes[i]->draw();
     1.9 +		nodes[i]->draw(selected);
    1.10  	}
    1.11  }
    1.12