Further work on osg::CameraNode support.

This commit is contained in:
Robert Osfield
2005-11-03 17:08:40 +00:00
parent fb2d3ae108
commit 40ef0bbdff
2 changed files with 39 additions and 1 deletions

View File

@@ -1,13 +1,16 @@
#include "Matrix.h"
#include <osg/Notify>
bool readMatrix(osg::Matrix& matrix, osgDB::Input& fr, const char* keyword)
{
bool iteratorAdvanced = false;
if (fr[0].matchWord(keyword) && fr[1].matchWord("{"))
if (fr[0].matchWord(keyword) && fr[1].isOpenBracket())
{
osg::notify(osg::NOTICE)<<"found keyword "<<fr[0].getStr()<<" looking for "<<keyword<<std::endl;
int entry = fr[0].getNoNestedBrackets();
fr += 2;