in reply to Re: Re: Re: The Secret Features of Perl6
in thread The Secret Features of Perl6

So ... when are you gonna write it? ;-)

Already started :) Using openGL is easy if the libraries are already on the system. The big issue for cross platform stuff is opening a window. Every window system has a different way of doing it. There is a library called GLUT which does does this job on many platforms, but it is event driven (it takes control and calls back functions when something happens). At this point in time, I don't know how to get parrot to hand a function pointer to glut that can be called back. Once I find this capability, I'll see about wrapping GLUT and getting the magic happening.

So at the moment, I can get parrot to use GLUT to open a window, but then control goes away form parrot and never comes back.

____________________
Jeremy
I didn't believe in evil until I dated it.

  • Comment on Re: Re: Re: Re: The Secret Features of Perl6