View Full Version : Drawing points

03-12-2012, 09:28 AM
Hi Everyone,

I need some help. I have a function that draws points on mouse click. I uploaded a texture and I want to draw points on specific areas of the image. But the points are a little off. The point are off by a little distance, either to the right or left. I thought of two ways to handle the problem; either delete the point and redraw it everything time it happens without affecting the points I have already drawn or adjust the code to take care of the problem. I've adjusted the code several times but nothing seems to work. Pleaseee help me. Thanks!

03-12-2012, 03:28 PM
Solved. The problem was with my viewport.