From Sukender, fix for precision of Plane::asVec4()
This commit is contained in:
parent
92d6daaf70
commit
6b711582de
@ -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]; }
|
||||
|
Loading…
Reference in New Issue
Block a user