Donn Mielcarek

Results 4 comments of Donn Mielcarek

If you put glBegin and glEnd within a display list, it will work, but glEnd by itself still dies. It's a bizarre error.

1. Edit opengl.rb 2. Insert begin/rescue around implementation.send: define_singleton_method(mn) do |*args,&block| begin implementation.send(mn, *args, &block) rescue end end define_method(mn) do |*args,&block| begin implementation.send(mn, *args, &block) rescue end end This is...

I added this to my file, it does the inversion for boolean variables: inline bool getargBool( const bool &defaults, const char *argv ) { static struct getopt map( getopt_utils::cmdline() );...

Except that only works with a single arg - here's multiple args: template< typename... Args > inline bool getargBool( const bool &defaults, const char *arg0, Args... argv) { bool opt...