0.9 questions

Started by middy, April 13, 2004, 20:56:08

Previous topic - Next topic

middy

A few qustions

What happened to

window.paint  eg whats the equalivant ?

GLU.gluPickMatrix wants an int[] instead of an intbuffer.. whats that about..
GL11.glGetInteger(GL11.GL_VIEWPORT, viewPort); still wants an intBuffer....


Keyboard.read();.. what do I need todo now?.. I see something called Keyboard.create(); ??
um

Matzon

Quote from: "middy"window.paint  eg whats the equalivant ?
Rolled into Window.update();

Quote from: "middy"Keyboard.read();.. what do I need todo now?.. I see something called Keyboard.create(); ??
Rolled into Window.update();

All input devices are automatically created (unless told not to using secret switches :twisted:

Just call Window.update, and it will poll for you too

Quote from: "middy"GLU.gluPickMatrix wants an int[] instead of an intbuffer.. whats that about..
It was determined that one would typically access GLU using arrays rather than buffers, and as such, GLU now uses arrays.

Quote from: "middy"
GL11.glGetInteger(GL11.GL_VIEWPORT, viewPort); still wants an intBuffer....
yes... why wouldn't it ??

/me posting quickly - cable modem f*ckED

middy

well I read the view port from gfx card before I did my pickmatrix to make sure I got the correct viewport. I could just  pass it onwards.. oh well I guess I can do that smarter
um