Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/linmath/cast_to_float.I

Go to the documentation of this file.
00001 // Filename: cast_to_float.I
00002 // Created by:  drose (24May00)
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 INLINE_LINMATH LVecBase2f cast_to_float(const LVecBase2d &source) {
00020   return LCAST(float, source);
00021 }
00022 
00023 INLINE_LINMATH LVecBase3f cast_to_float(const LVecBase3d &source) {
00024   return LCAST(float, source);
00025 }
00026 
00027 INLINE_LINMATH LVecBase4f cast_to_float(const LVecBase4d &source) {
00028   return LCAST(float, source);
00029 }
00030 
00031 INLINE_LINMATH LVector2f cast_to_float(const LVector2d &source) {
00032   return LCAST(float, source);
00033 }
00034 
00035 INLINE_LINMATH LVector3f cast_to_float(const LVector3d &source) {
00036   return LCAST(float, source);
00037 }
00038 
00039 INLINE_LINMATH LVector4f cast_to_float(const LVector4d &source) {
00040   return LCAST(float, source);
00041 }
00042 
00043 INLINE_LINMATH LPoint2f cast_to_float(const LPoint2d &source) {
00044   return LCAST(float, source);
00045 }
00046 
00047 INLINE_LINMATH LPoint3f cast_to_float(const LPoint3d &source) {
00048   return LCAST(float, source);
00049 }
00050 
00051 INLINE_LINMATH LPoint4f cast_to_float(const LPoint4d &source) {
00052   return LCAST(float, source);
00053 }
00054 
00055 INLINE_LINMATH LMatrix3f cast_to_float(const LMatrix3d &source) {
00056   return LCAST(float, source);
00057 }
00058 
00059 INLINE_LINMATH LMatrix4f cast_to_float(const LMatrix4d &source) {
00060   return LCAST(float, source);
00061 }
00062 

Generated on Fri May 2 00:40:00 2003 for Panda by doxygen1.3