Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 29, 2011, 10:59:37 PM (13 years ago)
Author:
rgrieder
Message:

Moved IntVector2 from util/Math.h to InputHandler.h because that class is a hack in itself.
Removed IntVector3 completely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/src/libraries/util/Math.h

    r8351 r8671  
    296296
    297297    _UtilExport unsigned long getUniqueNumber();
    298 
    299     /**
    300         @brief A Vector class containing two integers @a x and @a y.
    301     */
    302     class IntVector2
    303     {
    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 IntVector3
    315     {
    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     };
    323298}
    324299
Note: See TracChangeset for help on using the changeset viewer.