From a209542c6087467b03e2410c80253b2b5a1ed9f9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 12 May 2005 19:05:33 +0000 Subject: [PATCH] Added missing Uniform(Matrixd) constructor implementation --- src/osg/Uniform.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/osg/Uniform.cpp b/src/osg/Uniform.cpp index 4a5b190ba..210ddb41f 100644 --- a/src/osg/Uniform.cpp +++ b/src/osg/Uniform.cpp @@ -414,6 +414,12 @@ Uniform::Uniform( const char* name, const osg::Matrixf& m4 ) : set( m4 ); } +Uniform::Uniform( const char* name, const osg::Matrixd& m4 ) : + _type(FLOAT_MAT4), _name(name) +{ + set( m4 ); +} + Uniform::Uniform( const char* name, int i ) : _type(INT), _name(name) {