148 |
|
|
149 |
using std::vector; |
using std::vector; |
150 |
|
|
151 |
|
extern bool sceneMoving; |
152 |
|
|
153 |
class Renderer { |
class Renderer { |
154 |
Coords::CoordSet coordset; |
Coords::CoordSet coordset; |
155 |
public: |
public: |
160 |
int *inds2, float *points2, |
int *inds2, float *points2, |
161 |
float fract, bool show1) { |
float fract, bool show1) { |
162 |
coordset.clean(); |
coordset.clean(); |
163 |
|
sceneMoving = (interpinds != 0); |
164 |
coordset.setPoints(ninds, inds1, points1, interpinds, inds2, points2, fract, show1); |
coordset.setPoints(ninds, inds1, points1, interpinds, inds2, points2, fract, show1); |
165 |
} |
} |
166 |
|
|
167 |
void setPoints( int ninds, int *inds1, float *points1) { |
void setPoints( int ninds, int *inds1, float *points1) { |
168 |
coordset.clean(); |
coordset.clean(); |
169 |
|
sceneMoving = false; |
170 |
coordset.setPoints(ninds, inds1, points1, 0, 0, 0, 0, true); |
coordset.setPoints(ninds, inds1, points1, 0, 0, 0, 0, true); |
171 |
} |
} |
172 |
void renderScene(int *codes, |
void renderScene(int *codes, |