Skip to content

Commit b10e917

Browse files
Merge pull request #349 from maksw2/master
change math.h to cmath, gitignore
2 parents e552f63 + 5bcf558 commit b10e917

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
build/
2-
.*/
2+
.*/
3+
*.vcxproj.user
4+
example/x64/
5+
example/x86/
6+
example/imgui.ini

example/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "ImZoomSlider.h"
3535
#include "ImCurveEdit.h"
3636
#include "GraphEditor.h"
37-
#include <math.h>
37+
#include <cmath>
3838
#include <vector>
3939
#include <algorithm>
4040

vcpkg-example/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "ImCurveEdit.h"
1111
#include "GraphEditor.h"
1212

13-
#include <math.h>
13+
#include <cmath>
1414
#include <vector>
1515
#include <algorithm>
1616

0 commit comments

Comments
 (0)