00001 /* 00002 File: VLfd.h 00003 00004 Function: Master header for a version of the VL library based 00005 on floats and doubles: vectors are made up of 00006 floats, and matrices of doubles. The various classes 00007 are named Vecf, Mat3d, SparseVecf, etc. To use this 00008 header you should link with -lvl. 00009 00010 Author(s): Andrew Willmott 00011 00012 Copyright: (c) 1995-2000, Andrew Willmott 00013 */ 00014 00015 #ifndef __VLfd__ 00016 #define __VLfd__ 00017 00018 #ifdef __VL__ 00019 #include "vl/VLUndef.h" 00020 #endif 00021 00022 #ifndef __VLd__ 00023 #define VL_V_REAL Double 00024 #define VL_V_SUFF(X) X ## d 00025 00026 #include "vl/Mat2.h" 00027 #include "vl/Mat3.h" 00028 #include "vl/Mat4.h" 00029 #include "vl/Mat.h" 00030 #include "vl/SparseMat.h" 00031 #include "vl/Solve.h" 00032 #include "vl/Transform.h" 00033 00034 #include "vl/VLUndef.h" 00035 #endif 00036 00037 #define VL_V_REAL Float 00038 #define VL_V_SUFF(X) X ## f 00039 #define VL_M_REAL Double 00040 #define VL_M_SUFF(X) X ## d 00041 00042 #ifndef __VLf__ 00043 #include "vl/Vec2.h" 00044 #include "vl/Vec3.h" 00045 #include "vl/Vec4.h" 00046 #include "vl/Vec.h" 00047 #include "vl/SparseVec.h" 00048 #endif 00049 #include "vl/Mixed.h" 00050 #include "vl/Solve.h" 00051 00052 #endif