Nije mi bas najjasnije tvoje pitanje, ali ako sam dobro shvatio ti zelis
da saznas trenutnu vrednost modelview matrice. To mozes uciniti na sledeci nacin:
glGetDoublev (GL_MODELVIEW_MATRIX, tvojamatrica);
gde je tvojamatrica pointer na mesto u memoriji gde zelis da se smesti informacija.
Drugim recima ti ne mozes da dobijes trenutne vrednosti neke funkcije, vec samo trenutnu vrednost nekog OpenGL stanja (OpenGL state).
Funkcija gluLookAt() podesava modelview matricu koja je je jedno od OpenGL stanja i ti mozes dobiti njenu trenutnu vrednost, a iz nje i posredno izvuci podatke koje je potrebno proslediti funkciji gluLookAt da bi se ona formirala.
Pozdrav!
Q: Are there really any systems where
void main() doesn't work?
A: It has been reported that programs using void main() can crash.
Q: The book I've been using, _C Programing for the Compleat Idiot_,
always uses void main().
A: Perhaps its author counts himself among the target audience.