Vertex arrays in Jogl Faster? Use VBO's?

Started by crash0veride007, August 23, 2005, 00:40:17

Previous topic - Next topic

crash0veride007

I think my answer lies here:
public void anaminate() {
Thread t = new Thread() {
public void run() {
while (loop) {
try {
if (sleep > 0) {
Thread.sleep(sleep / 1000, sleep % 1000);
if (glComp != null)
glComp.repaint();
}
else
Thread.sleep(200);

}
catch (InterruptedException ex) {
}
}

}
};
t.setDaemon(true);
t.start();
}

princec