Advertisement

current translations

Started by May 11, 2005 06:57 PM
1 comment, last by zypo 19 years, 4 months ago
Does anyone know how I can lookup my current translations with an opengl function call? I know that glPushMatrix() puts a matrix on the stack... how would I retrieve the matrix data? thank you. -Zypo
From the blue book:
  glGetIntegerv(GL_MODELVIEW_MATRIX, GLint* params)
params returns sixteen values: the modelview matrix on the top of the modelview matrix stack


Hope that helps, if not then blame it on me being tired :)
--
Cheers,
Darren Clark
Advertisement
Yes, thanks... that did it.

This topic is closed to new replies.

Advertisement