From Sukender, fix for precision of Plane::asVec4()

This commit is contained in:
Robert Osfield 2010-11-19 18:07:17 +00:00
parent 92d6daaf70
commit 6b711582de

View File

@ -186,7 +186,7 @@ class OSG_EXPORT Plane
inline value_type* ptr() { return _fv; }
inline const value_type* ptr() const { return _fv; }
inline Vec4_type asVec4() const { return Vec4(_fv[0],_fv[1],_fv[2],_fv[3]); }
inline Vec4_type asVec4() const { return Vec4_type(_fv[0],_fv[1],_fv[2],_fv[3]); }
inline value_type& operator [] (unsigned int i) { return _fv[i]; }
inline value_type operator [] (unsigned int i) const { return _fv[i]; }