Added include/osg/Math to Makefile TARGET_INCLUDE_FILES and fixed references
to _mat in ConvertToPerformer.cpp
This commit is contained in:
parent
96085619ee
commit
cb17e99420
@ -88,6 +88,7 @@ TARGET_INCLUDE_FILES = \
|
||||
osg/LightSource\
|
||||
osg/LineSegment\
|
||||
osg/Material\
|
||||
osg/Math\
|
||||
osg/Matrix\
|
||||
osg/MemoryAdapter\
|
||||
osg/Node\
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user