@@ -66,10 +66,10 @@ struct LinearInterpolator< Imath::Matrix44<T> >
6666 return ;
6767 }
6868
69- Imath::Vec3<T> s0, s1, sx;
70- Imath::Vec3<T> h0, h1, hx;
71- Imath::Vec3<T> r0, r1, rx;
72- Imath::Vec3<T> t0, t1, tx;
69+ Imath::Vec3<T> s0 ( 1 ) , s1 ( 1 ) , sx ( 1 ) ;
70+ Imath::Vec3<T> h0 ( 0 ) , h1 ( 0 ) , hx ( 0 ) ;
71+ Imath::Vec3<T> r0 ( 0 ) , r1 ( 0 ) , rx ( 0 ) ;
72+ Imath::Vec3<T> t0 ( 0 ) , t1 ( 0 ) , tx ( 0 ) ;
7373
7474 extractSHRT (y0, s0, h0, r0, t0);
7575 extractSHRT (y1, s1, h1, r1, t1);
@@ -118,10 +118,10 @@ struct CubicInterpolator< Imath::Matrix44< T > >
118118 return ;
119119 }
120120
121- Imath::Vec3<T> s0, s1, s2, s3, sx;
122- Imath::Vec3<T> h0, h1, h2, h3, hx;
123- Imath::Vec3<T> r0, r1, r2, r3, rx;
124- Imath::Vec3<T> t0, t1, t2, t3, tx;
121+ Imath::Vec3<T> s0 ( 1 ) , s1 ( 1 ) , s2 ( 1 ) , s3 ( 1 ) , sx ( 1 ) ;
122+ Imath::Vec3<T> h0 ( 0 ) , h1 ( 0 ) , h2 ( 0 ) , h3 ( 0 ) , hx ( 0 ) ;
123+ Imath::Vec3<T> r0 ( 0 ) , r1 ( 0 ) , r2 ( 0 ) , r3 ( 0 ) , rx ( 0 ) ;
124+ Imath::Vec3<T> t0 ( 0 ) , t1 ( 0 ) , t2 ( 0 ) , t3 ( 0 ) , tx ( 0 ) ;
125125
126126 extractSHRT (y0, s0, h0, r0, t0);
127127 extractSHRT (y1, s1, h1, r1, t1);
0 commit comments