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

@ -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 {