Hello Victor,
On Tue, May 4, 2010 at 5:25 AM, Victor Haefner <[email protected]> wrote:
> void mouse(int button, int state, int x, int y) {
> if(!state) nav->buttonPress(button,x,y);
> else nav->buttonRelease(button,x,y);
> }
> works like a charm :)
>
> my mistake was in mouse()
>
> state 0 is button pressed, state 1 is button released.. I did it the other
> way..
oh, I missed that too. Glad to hear it's working now.
Cheers,
Carsten
------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users