GLfloat matrix [16]; glGetFloatv (GL_MODELVIEW_MATRIX, matrix); GLfloat d = sqrt( ... You are probably used to something called ModelView matrix.
確定! 回上一頁