Results 1 to 3 of 3

Thread: rotation problem

  1. #1
    Newbie Newbie
    Join Date
    Jan 2013
    Posts
    2

    rotation problem

    hai ,
    i am new to opengl.
    i want to rotate a line around a circle
    can anyone help me

  2. #2
    Newbie Newbie
    Join Date
    Jan 2013
    Posts
    2
    i wnt to rotate the line around the outer edge of the cirlce

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117
    translate the line rotation point to the origin, rotate by x degrees, calculate the new point on the circle to match this rotation, translate the line to the new point

Similar Threads

  1. Rotation problem.
    By Joshhua5 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-18-2011, 05:31 AM
  2. problem with rotation
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-08-2005, 07:25 PM
  3. need help with this rotation problem
    By imported_spooky in forum OpenGL: General
    Replies: 1
    Last Post: 04-15-2004, 11:08 PM
  4. rotation problem
    By hoganh in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 11-28-2003, 08:02 AM
  5. Rotation problem, i even do a WEB page to let you see my problem
    By sicklab in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 12-19-2000, 12:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean