never read variable in CSceneNodeAnimatorFlyCircle

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
pok
Posts: 2
Joined: Wed Jul 05, 2006 4:24 pm

never read variable in CSceneNodeAnimatorFlyCircle

Post by pok »

//! animates a scene node
void CSceneNodeAnimatorFlyCircle::animateNode(ISceneNode* node, u32 timeMs)
{
core::matrix4 mat; //never read

f32 t = (timeMs-StartTime) * Speed;

core::vector3df circle(Radius * (f32)sin(t), 0, Radius * (f32)cos(t));
node->setPosition(Center + circle);
}
Post Reply