(GLdouble*)projMatrix,
(GLint*)viewport,
&wx, &wy, &wz );
- glLoadIdentity();
+
gluUnProject( wx, wy, wz,
(GLdouble*)identityMatrix, (GLdouble*)projMatrix, (GLint*)viewport,
&x1, &y1 , &z1 );
h = (y2-y1)/h;
- glTranslated( x1, y1 , z1 );
- glRotated(aspect->Angle(), 0, 0, 1);
- glTranslated(xdis, ydis, 0);
+ glLoadIdentity();
+ glTranslated (x1, y1 , z1);
+ glRotated (aspect->Angle(), 0, 0, 1);
if( !aspect->IsZoomable() )
{
{
export_h = (float)h;
}
+
+ glTranslated (xdis, ydis, 0);
}
GLint renderMode;