git-svn-id: svn://db.shs.com.ru/libs@627 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-11-22 20:22:30 +00:00
parent 09248aae34
commit e65ee56ee4
21 changed files with 527 additions and 208 deletions

View File

@@ -26,6 +26,8 @@
class RendererService {
friend class QGLView;
friend class Renderer;
friend class RendererSelection;
public:
RendererService(Renderer * r_);
@@ -34,19 +36,20 @@ public:
void init(int width, int height);
void resize(int width, int height);
void fillBoxObjects();
void fillOmniObjects();
void setObjectsColor(QVector<QGLEngineShaders::Object> & ol, QColor col);
void renderService();
private:
Renderer * r;
Mesh * axis_mesh, * box_mesh;
QVector<QGLEngineShaders::Object> axis_objects, box_objects;
Mesh * axis_mesh, * box_mesh_f, * omni_mesh_f;
Mesh * box_mesh, * omni_mesh;
QVector<QGLEngineShaders::Object> axis_objects, cur_objects;
Camera * axis_camera;
QSize axis_viewport;
int line_width;
double box_vp_scale;
double box_vp_scale, box_full_scale;
};