00001 // Filename: lmat_ops_src.h 00002 // Created by: drose (08Mar00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 BEGIN_PUBLISH 00020 00021 // vector times matrix3 00022 00023 INLINE_LINMATH FLOATNAME(LVecBase3) 00024 operator * (const FLOATNAME(LVecBase3) &v, const FLOATNAME(LMatrix3) &m); 00025 00026 INLINE_LINMATH FLOATNAME(LVector2) 00027 operator * (const FLOATNAME(LVector2) &v, const FLOATNAME(LMatrix3) &m); 00028 00029 INLINE_LINMATH FLOATNAME(LPoint2) 00030 operator * (const FLOATNAME(LPoint2) &v, const FLOATNAME(LMatrix3) &m); 00031 00032 00033 // vector times matrix4 00034 00035 INLINE_LINMATH FLOATNAME(LVecBase4) 00036 operator * (const FLOATNAME(LVecBase4) &v, const FLOATNAME(LMatrix4) &m); 00037 00038 INLINE_LINMATH FLOATNAME(LVector3) 00039 operator * (const FLOATNAME(LVector3) &v, const FLOATNAME(LMatrix4) &m); 00040 00041 INLINE_LINMATH FLOATNAME(LPoint3) 00042 operator * (const FLOATNAME(LPoint3) &v, const FLOATNAME(LMatrix4) &m); 00043 00044 END_PUBLISH 00045 00046 #include "lmat_ops_src.I"