From cb17e9942029cb79acf192852f3da1c26803ddcb Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Fri, 12 Oct 2001 17:45:15 +0000 Subject: [PATCH] Added include/osg/Math to Makefile TARGET_INCLUDE_FILES and fixed references to _mat in ConvertToPerformer.cpp --- src/osg/Makefile | 1 + src/osgPlugins/pfb/ConvertToPerformer.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/osg/Makefile b/src/osg/Makefile index 250a369ab..f14f7e6f9 100644 --- a/src/osg/Makefile +++ b/src/osg/Makefile @@ -88,6 +88,7 @@ TARGET_INCLUDE_FILES = \ osg/LightSource\ osg/LineSegment\ osg/Material\ + osg/Math\ osg/Matrix\ osg/MemoryAdapter\ osg/Node\ diff --git a/src/osgPlugins/pfb/ConvertToPerformer.cpp b/src/osgPlugins/pfb/ConvertToPerformer.cpp index 13b65acee..dbb8faca6 100644 --- a/src/osgPlugins/pfb/ConvertToPerformer.cpp +++ b/src/osgPlugins/pfb/ConvertToPerformer.cpp @@ -169,10 +169,10 @@ void ConvertToPerformer::apply(osg::Transform& osgTransform) osg::Matrix& matrix = osgTransform.getMatrix(); - pfMatrix pf_matrix(matrix._mat[0][0],matrix._mat[0][1],matrix._mat[0][2],matrix._mat[0][3], - matrix._mat[1][0],matrix._mat[1][1],matrix._mat[1][2],matrix._mat[1][3], - matrix._mat[2][0],matrix._mat[2][1],matrix._mat[2][2],matrix._mat[2][3], - matrix._mat[3][0],matrix._mat[3][1],matrix._mat[3][2],matrix._mat[3][3]); + pfMatrix pf_matrix(matrix[0][0],matrix[0][1],matrix[0][2],matrix[0][3], + matrix[1][0],matrix[1][1],matrix[1][2],matrix[1][3], + matrix[2][0],matrix[2][1],matrix[2][2],matrix[2][3], + matrix[3][0],matrix[3][1],matrix[3][2],matrix[3][3]); pf_dcs->setMat(pf_matrix);