vee_mgc.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 /* COPYRIGHT
00004  *
00005  * This file is part of the Visual Effects Engine - VEE
00006  *
00007  * Read the "VEE-LICENSE" file for the license.
00008  *
00009  * Authors & Copyright:   
00010  *
00011  * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 
00012  * Janne Kontkanen 2001-2004
00013  *
00014  * Additional copyrights: Tekes 2003-2004
00015  *
00016  * firstname.lastname@hut.fi
00017  *
00018  */
00019 
00020 #ifndef VEE_MGC_H
00021 #define VEE_MGC_H
00022 
00023 #include <Fluid/Vector3.hpp>
00024 #include <Fluid/Matrix3.hpp>
00025 
00026 namespace Wml {
00027   template<class Real> class Vector3;
00028   template<class Real> class Matrix3;
00029 }
00030 
00031 typedef Wml::Vector3<float> WmlVector3;
00032 typedef Wml::Matrix3<float> WmlMatrix3;
00033 
00034 inline WmlVector3 * toWml(Fluid::Vector3 *v)
00035 { return (WmlVector3 *) v; }
00036 inline const WmlVector3 * toWml(const Fluid::Vector3 *v)
00037 { return (const WmlVector3 *) v; }
00038 
00039 inline WmlMatrix3 * toWml(Fluid::Matrix3 *v)
00040 { return (WmlMatrix3 *) v; }
00041 inline const WmlMatrix3 * toWml(const Fluid::Matrix3 *v)
00042 { return (const WmlMatrix3 *) v; }
00043 
00044 inline Fluid::Vector3 * toFluid(WmlVector3 *v)
00045 { return (Fluid::Vector3 *) v; }
00046 inline const Fluid::Vector3 * toFluid(const WmlVector3 *v)
00047 { return (const Fluid::Vector3 *) v; }
00048 
00049 inline Fluid::Matrix3 * toFluid(WmlMatrix3 *v)
00050 { return (Fluid::Matrix3 *) v; }
00051 inline const Fluid::Matrix3 * toFluid(const WmlMatrix3 *v)
00052 { return (const Fluid::Matrix3 *) v; }
00053 
00054 #endif

Generated on Mon Mar 12 21:09:00 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6