diff --git a/include/osg/Vec2f b/include/osg/Vec2f index 6fee4a331..35d82dae3 100644 --- a/include/osg/Vec2f +++ b/include/osg/Vec2f @@ -59,6 +59,7 @@ class Vec2f inline const value_type * ptr() const { return _v; } inline void set( value_type x, value_type y ) { _v[0]=x; _v[1]=y; } + inline void set( const Vec2f& rhs) { _v[0]=rhs._v[0]; _v[1]=rhs._v[1]; } inline value_type & operator [] (int i) { return _v[i]; } inline value_type operator [] (int i) const { return _v[i]; }