src/basics.h

changeset 1332
1fffb24d4ffe
parent 1328
d68d1ce89d05
child 1333
ebcb0335d467
equal deleted inserted replaced
1331:f10b0c32a85d 1332:1fffb24d4ffe
38 38
39 #define DEFINE_CLASS(SELF, SUPER) \ 39 #define DEFINE_CLASS(SELF, SUPER) \
40 public: \ 40 public: \
41 using Self = SELF; \ 41 using Self = SELF; \
42 using Super = SUPER; 42 using Super = SUPER;
43
44 // TODO: get rid of this
45 #ifdef WIN32
46 # define DIRSLASH "\\"
47 # define DIRSLASH_CHAR '\\'
48 #else // WIN32
49 # define DIRSLASH "/"
50 # define DIRSLASH_CHAR '/'
51 #endif // WIN32
52 43
53 class LDObject; 44 class LDObject;
54 using GLRotationMatrix = QMatrix4x4; 45 using GLRotationMatrix = QMatrix4x4;
55 46
56 enum Axis 47 enum Axis

mercurial