00001 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ 00002 /* _______ ______ ______ __ */ 00003 /* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ / ____(_)___ / ___ /) / ____/___ ____/ /__ */ 00004 /* [fsTypes] / /_ / / __ \\__ \|/ / / / __ \/ __ / _ \ */ 00005 /* rev. 2 / __/ / / /_/ /__/ / / /___/ /_/ / /_/ / __/ */ 00006 /* 20th Jan 2007 /_/ /_/ ,___/____/ \____/\____/\__,_/\___/ */ 00007 /* [x] stable /_/ (c) 2006-7 Filip STOKLAS (FipS) */ 00008 /* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ http://HOLE.4FipS.com/fips_code.php */ 00009 /* */ 00010 /* This code is free for personal and commercial use. You may redistribute */ 00011 /* it by any means. If you use the code for your own projects please give */ 00012 /* me credit. Please send a bug report. Don't alter or remove this header! */ 00013 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ 00014 #ifndef FS_MTH_TYPES_H 00015 #define FS_MTH_TYPES_H 00016 //--------------------------------------------------------------------------- 00017 #if defined(FS_INCLUDE_USERDEFS) // inject user definition file on request 00018 # include <fs/fsUserDefs.h> 00019 #endif 00020 00021 #include "fsVec2.h" 00022 #include "fsRec2.h" 00023 //--------------------------------------------------------------------------- 00024 namespace fs { namespace mth { 00025 //--------------------------------------------------------------------------- 00026 typedef Vec2_T<int> Vec2i_t; 00027 typedef Vec2_T<float> Vec2f_t; 00028 typedef Vec2_T<fixed> Vec2x_t; // temporary 00029 typedef Rec2_T<int> Rec2i_t; 00030 typedef Rec2_T<float> Rec2f_t; 00031 typedef Rec2_T<fixed> Rec2x_t; // temporary 00032 //--------------------------------------------------------------------------- 00033 }} // namespace fs::mth 00034 //--------------------------------------------------------------------------- 00035 #endif // FS_MTH_TYPES_H