1 | initial version |
you can try this sample and write something like this :
if (event==EVENT_MOUSEWHEEL)
{
if (getMouseWheelDelta(flags)>0)
rObs += (float)0.1;
else
rObs -= (float)0.1;
}
In this sample distance scene camera s increase or decrease