[GEM-dev] part_render
guenter geiger
geiger at xdv.org
Tue Jul 22 21:11:14 CEST 2003
On Tue, 22 Jul 2003, IOhannes m zmoelnig wrote:
> 4) suppress the last continueRender() call
> <snip>
> if(i<(cnt-1)){
> continueRender(state);
> glMatrixMode(GL_MODELVIEW);
> glPopMatrix();
> }
> }
> }
> void part_render :: postrender(GemState*){
> glMatrixMode(GL_MODELVIEW);
> glPopMatrix();
> }
> </snip>
thats actually a cool solution. A bit hacky too, but fast and easy.
The good thing about it is that other files don't have to be touched,
and we avoid the virtual function.
> if there is another good reason to make gem_renderMess() virtual, why
> not. (although i cannot think of one right now, there might be a future)
no, lets keep it this way until we might need it.
Guenter
More information about the GEM-dev
mailing list