diff -r 36105978da93 -r 1e2391b78d17 src/canvas.h --- a/src/canvas.h Sun Apr 01 15:32:30 2018 +0300 +++ b/src/canvas.h Mon Apr 02 10:33:17 2018 +0300 @@ -32,12 +32,15 @@ void drawPoint(QPainter& painter, QPointF pos, QColor color = QColor (64, 192, 0)) const; void drawBlipCoordinates(QPainter& painter, const Vertex& pos3d) const; void drawBlipCoordinates(QPainter& painter, const Vertex& pos3d, QPointF pos) const; + void clearCurrentCullValue(); + double currentCullValue() const; double getDepthValue() const; void getRelativeAxes(Axis& relX, Axis& relY) const; Axis getRelativeZ() const; QPen linePen() const; const Vertex& position3D() const; void setDepthValue(double depth); + void setCullValue(double value); void setEditMode(EditModeType type); protected: @@ -58,4 +61,5 @@ AbstractEditMode* m_currentEditMode = nullptr; Vertex m_position3D; double m_depthValues[6] = {0}; + double cullValues[6] = {0}; };