Hello Sajjad,
On 28/3/09 10:00 PM, ami guru wrote:
The following snippet may elaborate more:
**'
mtLeft->setUpdateCallback(new RotateCB);
osg::Matrix m;
m.makeTranslate(-6.0f,0.0f,0.0f);
mtLeft->setMatrix(m);
*'
On the above
Hello ulrich,
The following snippet may elaborate more:
**'
//SET THE data variance to dynamic to let OSG know that
//we shall modify this node during update traversal
mtLeft->setDataVariance(osg::Object::DYNAMIC);
//set the update callback
mtLeft->setUp
2 matches
Mail list logo