Removed obsolete member variable from Canvas3D::Slope

This commit is contained in:
enricoturri1966 2021-05-12 14:25:13 +02:00
parent 82da1f8fc1
commit 3006213d3b
2 changed files with 0 additions and 4 deletions

View File

@ -787,8 +787,6 @@ void GLCanvas3D::Tooltip::render(const Vec2d& mouse_position, GLCanvas3D& canvas
ImGui::PopStyleVar(2);
}
float GLCanvas3D::Slope::s_window_width;
wxDEFINE_EVENT(EVT_GLCANVAS_SCHEDULE_BACKGROUND_PROCESS, SimpleEvent);
wxDEFINE_EVENT(EVT_GLCANVAS_OBJECT_SELECT, SimpleEvent);
wxDEFINE_EVENT(EVT_GLCANVAS_RIGHT_CLICK, RBtnEvent);

View File

@ -357,7 +357,6 @@ class GLCanvas3D
{
bool m_enabled{ false };
GLVolumeCollection& m_volumes;
static float s_window_width;
public:
Slope(GLVolumeCollection& volumes) : m_volumes(volumes) {}
@ -368,7 +367,6 @@ class GLCanvas3D
void set_normal_angle(float angle_in_deg) const {
m_volumes.set_slope_normal_z(-::cos(Geometry::deg2rad(90.0f - angle_in_deg)));
}
static float get_window_width() { return s_window_width; };
};
class RenderTimer : public wxTimer {