Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

OpanGL

Name: Anonymous 2008-09-11 18:02

So I'm working on this OpanGL animation program for school, and I am curious about glTranslate function. Does this function is able to move a circle that I have drawn to a different part of screen?

Also, I have circle to move around screen, what is the best way to make circle move in a straight line at an angle from origin?

Thank you, [ßpoiler]/prog/[/spoiler]

Name: Anonymous 2008-09-11 21:14

i have a circle at location (x,y) and a vector (-3,4) and i want to move the circle in that direction of the vector do i just divide (-3,4) by its length and then keep adding this value to (x,y) or is there a smoother way to do this in opengl also does opengl work in pixel or float coordinates thanks

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List