![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
00001 // 00002 // 00003 // AppEasy SDK - Cross Platform Multi-purpose Game and App Engine 00004 // 00005 // Developed by Matthew Hopwood of Pocketeers Limited - www.pocketeers.co.uk 00006 // 00007 // For updates, tutorials and more details check out www.appeasymobile.com 00008 // 00009 // This code is provided free of charge and without any warranty whatsoever. You must ensure that this whole notice is present in all files and derivatives, so the reader knows its origin. 00010 // If you use this SDK in your product then please ensure that you credit AppEasy's usage appropriately. Please see www.appeasymobile.com for licensing details and support 00011 // 00012 // 00013 00014 #ifndef __CV_SVEC2_H__ 00015 #define __CV_SVEC2_H__ 00016 00017 class CzVec2; 00018 class CzVec3; 00019 00020 class CzSVec2 00021 { 00022 public: 00023 short x, y; 00024 00025 private: 00026 public: 00027 CzSVec2(); 00028 CzSVec2(float x, float y); 00029 CzSVec2(short x, short y); 00030 CzSVec2(int x, int y); 00031 00032 bool operator== (CzSVec2& v); 00033 bool operator!= (CzSVec2& v); 00034 00035 CzVec2 toVec2(); 00036 CzVec3 toVec3(); 00037 00038 }; 00039 00040 00041 #endif // __CV_SVEC2_H__ 00042