I think you can't call a_g_paint directly. Even you call, opengl code won't
work because it must be executed inside paint event.

you can trigger a repaint gl_paint and let the OS to call event handler.

Why didn't you print out the y to see what is its value?


On Fri, Feb 14, 2020, 12:14 AM Brian Schott <schott.br...@gmail.com> wrote:

> Yes, I think I understand the normally gl_paint is called from event
> handler,
> and I am calling gl_paint directly myself. Can you tell me where the code
> for event handler is so that I can see if it is making another call that I
> am not aware of?
>
> On Thu, Feb 13, 2020 at 11:02 AM bill lam <bbill....@gmail.com> wrote:
>
> > a_g_paint is called from event handler, not from your code.
> > unless you had called this verb directly.
> >
> > the viewport is glu_lookat, but I forgot most of it already.
> >
> > --
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to