1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #pragma once19 20 #include "[Math/MathBuildConfig.h]"21 #include "[Math/MathNamespace.h]"22 23 24 25 26 27 28 #ifdef _MSC_VER29 #define CONST_WIN32 const30 #else31 #define CONST_WIN3232 #endif33 34 #ifdef _MSC_VER35 #define NAMELESS_UNION_BEGIN \36 __pragma(warning(push)) \37 __pragma(warning(disable:4201))38 39 #define NAMELESS_UNION_END \40 __pragma(warning(pop))41 42 #else43 44 #define NAMELESS_UNION_BEGIN union {45 #define NAMELESS_UNION_END };46 47 #endif48 49 #if !defined(MATH_ENABLE_STL_SUPPORT) && !defined(assert)50 #include <stdio.h>51 #define assert(x) do { if (!(x)) { printf("Error: assert(%s) failed!\n", #x); } } while(0)52 #endif53 54 [MATH_BEGIN_NAMESPACE]55 56 class [float2];57 class [float3];58 class [float4];59 class float2x2;60 class float2x3;61 class [float3x3];62 class [float3x4];63 class [float4x4];64 class [Quat];65 66 class [TranslateOp];67 class [ScaleOp];68 69 class [AABB];70 class [Capsule];71 class [Circle];72 #ifdef Complex73 #undef Complex74 #endif75 class [Complex];76 class Cone;77 class Cylinder;78 class Ellipsoid;79 class [Frustum];80 struct [HitInfo];81 class [Line];82 class [LineSegment];83 class [OBB];84 class [Plane];85 class [Polygon];86 class [Polyhedron];87 class [Polynomial];88 class [Quat];89 class [Ray];90 class [Sphere];91 class [TranslateOp];92 class Torus;93 class [ScaleOp];94 class [Triangle];95 class [LCG];96 97 [MATH_END_NAMESPACE]98 99 #ifdef MATH_GRAPHICSENGINE_INTEROP100 class VertexBuffer;101 #endif Go back to previous page