From 22e94c9aaf716f94f2b022945cf828a97931770c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 29 Aug 2006 06:58:22 +0000 Subject: [PATCH] Added TexMat(Matrix) constructor. --- include/osg/TexMat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/osg/TexMat b/include/osg/TexMat index 755f91918..afdcd4751 100644 --- a/include/osg/TexMat +++ b/include/osg/TexMat @@ -27,6 +27,8 @@ class OSG_EXPORT TexMat : public StateAttribute TexMat(); + TexMat(const Matrix& matrix):_matrix(matrix) {} + /** Copy constructor using CopyOp to manage deep vs shallow copy. */ TexMat(const TexMat& texmat,const CopyOp& copyop=CopyOp::SHALLOW_COPY): StateAttribute(texmat,copyop),