Re: Help with drawing

2009-05-16 Thread Chris Goedde
On May 16, 2009, at 2:24 AM, Graham Cox wrote: On 16/05/2009, at 5:01 PM, Development wrote: theX = turretBottom.x + 103* sin(angle * PI/180); Above is what I am using to get the X coord now I need it exactly opposite the point it appears at. 103 is the height of the turret. angle is the

Re: Help with drawing

2009-05-16 Thread Graham Cox
On 16/05/2009, at 5:01 PM, Development wrote: theX = turretBottom.x + 103* sin(angle * PI/180); Above is what I am using to get the X coord now I need it exactly opposite the point it appears at. 103 is the height of the turret. angle is the angle it is in relation to the platform it sits

Help with drawing

2009-05-16 Thread Development
I am trying to draw a pixel in a specific place within a rectangle. there is a movable turret and I want to draw at a point directly at the end of this turret. Now when I draw at the left side of the screen it works flawlessly. but when I get to the right side of the screen and want to draw t