/[gzz]/gzz/gfx/libutil/Vec23.hxx
ViewVC logotype

Diff of /gzz/gfx/libutil/Vec23.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by tjl, Wed Sep 25 14:45:43 2002 UTC revision 1.9 by tjl, Thu Sep 26 08:31:24 2002 UTC
# Line 178  namespace Vec23 { Line 178  namespace Vec23 {
178      typedef Vector<float> Vec;      typedef Vector<float> Vec;
179      typedef Vector3<float> ZVec;      typedef Vector3<float> ZVec;
180    
181      template<class X, class Y, class Z> inline float lerp(X a, Y b, Z fract) {      template<class X, class Y> inline X lerp(X a, Y b, double fract) {
182          return a + fract * (b-a);          return a + fract * (b-a);
183      }      }
184    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26