From 6b711582de1673b71312763e86d22004fb4cee77 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 19 Nov 2010 18:07:17 +0000 Subject: [PATCH] From Sukender, fix for precision of Plane::asVec4() --- include/osg/Plane | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/Plane b/include/osg/Plane index 6c88067f1..4af8c8f27 100644 --- a/include/osg/Plane +++ b/include/osg/Plane @@ -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]; }