diff options
author | chai <chaifix@163.com> | 2021-12-01 13:34:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-12-01 13:34:22 +0800 |
commit | 09abf1b529b4226f585ecfbb20866715b901755b (patch) | |
tree | 16929f2a6bee3ad4667bdd006cfcc1e683ab7210 /Client/Source/Phy2D/Tests/test_math.cpp | |
parent | 84d961f754c905b37420f4d1b3fee8f4e523e58a (diff) |
+fpm
Diffstat (limited to 'Client/Source/Phy2D/Tests/test_math.cpp')
-rw-r--r-- | Client/Source/Phy2D/Tests/test_math.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Client/Source/Phy2D/Tests/test_math.cpp b/Client/Source/Phy2D/Tests/test_math.cpp index e047508..e7642c1 100644 --- a/Client/Source/Phy2D/Tests/test_math.cpp +++ b/Client/Source/Phy2D/Tests/test_math.cpp @@ -1,23 +1,23 @@ -#include "test.h" -#if TEST == TEST_MATH - -#include <iostream> - -#include "../Common/Math.h" - -using namespace Phy2D; -using namespace std; - -int main(int argc, char **argv) -{ - Vec2 a = Vec2(1.f, 2.f); - Vec2 b = a; - - cout << (a+b).ToString(); - - getchar(); - - return 0; -} - +#include "test.h"
+#if TEST == TEST_MATH
+
+#include <iostream>
+
+#include "../Common/Math.h"
+
+using namespace Phy2D;
+using namespace std;
+
+int main(int argc, char **argv)
+{
+ Vec2 a = Vec2(1.f, 2.f);
+ Vec2 b = a;
+
+ cout << (a+b).ToString();
+
+ getchar();
+
+ return 0;
+}
+
#endif
\ No newline at end of file |