Hi
How can I center my screen around a moving object (using C++)?
Actually, the moving object say, vehicle is moving on a route in a map.
How can I recenter the graph around it on the screen ?
Even, if someone could suggest solution for below it would be helpful:
Suppose I have a particle on the screen which moves randomly(or specified by the user) one unit in any direction. Let I have a rectangular box surrounding it. How can I always make the point to be at the center of the box irrespective of where it is moving ?