Skip to content
Snippets Groups Projects
Commit 5fa1b59d authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

cleanup

parent 5322fd04
No related branches found
No related tags found
1 merge request!2725Manual regeneration of roughness on 3D view
Pipeline #162187 passed
......@@ -76,7 +76,8 @@ private:
static Mesh meshPlane();
static Mesh meshBox();
static Mesh meshRoughBox(const double2d_t*, const double2d_t*, bool);
static Mesh meshRoughBox(const double2d_t* topRough, const double2d_t* bottomRough,
bool drawBottom);
static Mesh meshSphere(float cut, float baseShift = 0.0f, float removedTop = 0.0f);
static Mesh meshColumn(float ratio_Rt_Rb, float numSides);
static Mesh meshIcosahedron();
......
......@@ -73,7 +73,7 @@ PlottableBody::PlottableBody(GeometricID::Key gky_, const double2d_t* top, const
, gky(gky_)
{
if (top || bottom)
m_geo = std::shared_ptr<Geometry>(new Geometry(gky, top, bottom, drawBottom));
m_geo = std::make_shared<Geometry>(gky, top, bottom, drawBottom);
}
PlottableBody::~PlottableBody()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment