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 |