Hello forum,
I am trying to rorate an object continuously through a call back. Before
calling the calback i am doing some affine transformation over that object
The final rendered the scaled down to a tiny object . In the callback
subclass i am overloading the () operator and i am performing the
Hello Ami,
On 28/3/09 8:50 AM, ami guru wrote:
virtual void operator()(osg::Node *node,
osg::NodeVisitor *nv)
{
osg::Matrix mR;
mR.makeRotate(m_angle, osg::Vec3(0.0f,0.0f,1.0f));
mtLeft-setMatrix(mR);
...
osg::Vec3f teapotTransVec = osg::Vec3f(5,2,-12);
2 matches
Mail list logo