Lines Matching refs:View
105 static ViewInfo View;
951 glTranslatef(0.0, 0.0, -View.Distance);
952 build_rotmatrix(rot, View.CurQuat);
1035 View.StartX = x;
1036 View.StartY = y;
1037 View.Rotating = GL_TRUE;
1040 View.Rotating = GL_FALSE;
1045 View.StartX = x;
1046 View.StartY = y;
1047 View.StartDistance = View.Distance;
1048 View.Translating = GL_TRUE;
1051 View.Translating = GL_FALSE;
1064 if (View.Rotating) {
1065 float x0 = (2.0 * View.StartX - WinWidth) / WinWidth;
1066 float y0 = (WinHeight - 2.0 * View.StartY) / WinHeight;
1072 View.StartX = x;
1073 View.StartY = y;
1075 add_quats(q, View.CurQuat, View.CurQuat);
1079 else if (View.Translating) {
1080 float dz = 0.01 * (y - View.StartY);
1081 View.Distance = View.StartDistance + dz;
1319 InitViewInfo(&View);