Removed obsolete member variable from Canvas3D::Slope
This commit is contained in:
parent
82da1f8fc1
commit
3006213d3b
@ -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);
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user