src/glRenderer.h

changeset 737
e58bdb21cc54
parent 718
a2cbef633673
child 738
16b63398aa1f
equal deleted inserted replaced
736:0446af72b2ee 737:e58bdb21cc54
75 panY[7], 75 panY[7],
76 zoom[7]; 76 zoom[7];
77 double depthValues[6]; 77 double depthValues[6];
78 LDGLOverlay overlays[6]; 78 LDGLOverlay overlays[6];
79 bool init; 79 bool init;
80 80 bool needZoomToFit;
81 LDGLData() 81
82 LDGLData() :
83 rotX (0.0),
84 rotY (0.0),
85 rotZ (0.0),
86 init (false),
87 needZoomToFit (true)
82 { 88 {
83 for (int i = 0; i < 7; ++i) 89 for (int i = 0; i < 7; ++i)
84 { 90 {
85 if (i < 6) 91 if (i < 6)
86 { 92 {
91 97
92 zoom[i] = 30.0; 98 zoom[i] = 30.0;
93 panX[i] = 0.0; 99 panX[i] = 0.0;
94 panY[i] = 0.0; 100 panY[i] = 0.0;
95 } 101 }
96
97 rotX = 0;
98 rotY = 0;
99 rotZ = 0;
100 init = false;
101 } 102 }
102 }; 103 };
103 104
104 // ============================================================================= 105 // =============================================================================
105 // The main renderer object, draws the brick on the screen, manages the camera 106 // The main renderer object, draws the brick on the screen, manages the camera

mercurial