1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-24 10:05:52 +00:00

Refactoring into rendering pipeline

This commit is contained in:
Enrico Turri
2019-07-26 09:45:22 +02:00
parent 9bcdb2ebd0
commit 77857f7292
4 changed files with 11 additions and 30 deletions
+1 -1
View File
@@ -111,13 +111,13 @@ public:
Point point_projection(const Point& point) const;
void render(GLCanvas3D& canvas, float theta, float scale_factor) const;
void render_axes() const;
private:
void calc_bounding_boxes() const;
void calc_triangles(const ExPolygon& poly);
void calc_gridlines(const ExPolygon& poly, const BoundingBox& bed_bbox);
EType detect_type(const Pointfs& shape) const;
void render_axes() const;
void render_prusa(GLCanvas3D& canvas, const std::string& key, bool bottom) const;
void render_texture(const std::string& filename, bool bottom, GLCanvas3D& canvas) const;
void render_model(const std::string& filename) const;