Changeset 8671 for code/branches
- Timestamp:
- May 29, 2011, 10:59:37 PM (13 years ago)
- Location:
- code/branches/unity_build/src/libraries
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/src/libraries/core/input/InputHandler.h
r6746 r8671 31 31 32 32 #include "InputPrereqs.h" 33 #include "util/Math.h"34 33 35 34 namespace orxonox 36 35 { 36 /// A Vector class containing two integers @a x and @a y. 37 class IntVector2 38 { 39 public: 40 IntVector2() : x(0), y(0) { } 41 IntVector2(int _x, int _y) : x(_x), y(_y) { } 42 int x; 43 int y; 44 }; 45 37 46 namespace ButtonEvent 38 47 { -
code/branches/unity_build/src/libraries/util/Math.h
r8351 r8671 296 296 297 297 _UtilExport unsigned long getUniqueNumber(); 298 299 /**300 @brief A Vector class containing two integers @a x and @a y.301 */302 class IntVector2303 {304 public:305 IntVector2() : x(0), y(0) { }306 IntVector2(int _x, int _y) : x(_x), y(_y) { }307 int x;308 int y;309 };310 311 /**312 @brief A Vector class containing three integers @a x, @a y, and @a z.313 */314 class IntVector3315 {316 public:317 IntVector3() : x(0), y(0), z(0) { }318 IntVector3(int _x, int _y, int _z) : x(_x), y(_y), z(_z) { }319 int x;320 int y;321 int z;322 };323 298 } 324 299 -
code/branches/unity_build/src/libraries/util/UtilPrereqs.h
r8351 r8671 87 87 class Exception; 88 88 class ExprParser; 89 class IntVector2;90 class IntVector3;91 89 class MultiType; 92 90 class OutputHandler;
Note: See TracChangeset
for help on using the changeset viewer.