Skip to content

Commit

Permalink
[tests] Small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mafo369 authored and dlyr committed Apr 7, 2023
1 parent 8c6ff55 commit 167ad8d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/CurveEditor/CurveEditor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ class CurveEditor : public Ra::Engine::Scene::Entity
m_currentPoint = -1;
}

void resetSavedPoint() { m_savedPoint = -1; }

PointComponent* getSavedPoint() {
if ( m_savedPoint >= 0 )
return m_pointEntities[m_savedPoint];
Expand Down Expand Up @@ -104,6 +102,7 @@ class CurveEditor : public Ra::Engine::Scene::Entity
const Ra::Core::Vector3& newPoint = Ra::Core::Vector3::Zero() );

void smoothify( int pointId );

void symmetrize( int pointId );

private:
Expand All @@ -116,8 +115,5 @@ class CurveEditor : public Ra::Engine::Scene::Entity
Ra::Engine::Rendering::RenderObjectManager* m_roMgr;
int m_savedPoint { -1 };

bool m_smooth { false };
bool m_symetry { false };

MyViewer* m_viewer { nullptr };
};

0 comments on commit 167ad8d

Please sign in to comment.