1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #pragma once19 20 #include "../MathBuildConfig.h"21 22 #ifdef MATH_ENABLE_NAMESPACE23 24 #define MATH_BEGIN_NAMESPACE namespace MATH_NAMESPACE_NAME {25 #define MATH_END_NAMESPACE }26 27 #define MATH_NS MATH_NAMESPACE_NAME28 29 #define USE_MATH_NAMESPACE using namespace MATH_NAMESPACE_NAME;30 31 #else32 33 34 #define MATH_BEGIN_NAMESPACE35 #define MATH_END_NAMESPACE36 37 #define MATH_NS38 39 #define USE_MATH_NAMESPACE40 41 #endif42 43 [MATH_BEGIN_NAMESPACE]44 [MATH_END_NAMESPACE]45 46 #ifdef MATH_AUTO_USE_NAMESPACE47 48 49 50 [USE_MATH_NAMESPACE]51 #endif Go back to previous page