Skip to content

Commit 7526585

Browse files
committed
code format
1 parent 92cfc92 commit 7526585

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/gui.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
4444
#pragma endregion
4545

4646
#pragma region ToolBar: Buttons(Start, Fill Ink, Clean), Combobox(processingBox)
47-
wxToolBar *toolbar1 = CreateToolBar();
47+
wxToolBar *toolbar1 = CreateToolBar();
4848
start = new wxButton(toolbar1, BUTTON_Start, _T("Start"), wxDefaultPosition, wxSize(100, 40), 0);
4949
clean = new wxButton(toolbar1, BUTTON_Clean, _T("Clean"), wxDefaultPosition, wxSize(100, 40), 0);
5050

@@ -214,8 +214,8 @@ void MyFrame::OnOpenSrc(wxCommandEvent& event) {
214214
dp->SetMinSize(img);
215215
this->Layout();
216216

217-
render_loop_on = true;
218-
activateRenderLoop(render_loop_on);
217+
render_loop_on = true;
218+
activateRenderLoop(render_loop_on);
219219
}
220220

221221
void MyFrame::OnSaveResult(wxCommandEvent& event) {

src/postProcessing.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ PP::PP(Size s) {}
77

88
// visualize the ETF
99
void PP::ETF(Mat &flowfield, Mat &dis) {
10-
// const float M_PI = 3.14159265358979323846;
1110
Mat noise = Mat::zeros(cv::Size(flowfield.cols / 2, flowfield.rows / 2), CV_32F);
1211
dis = Mat::zeros(flowfield.size(), CV_32F);
1312
randu(noise, 0, 1.0f);

0 commit comments

Comments
 (0)