Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Rotation around an axis clockwise and anti-clockwise algorithm question?

by dave_the_m (Parson)
on Jun 12, 2012 at 16:34 UTC ( #975843=note: print w/ replies, xml ) Need Help??


in reply to Rotation around an axis clockwise and anti-clockwise algorithm question?

What's the matter with just specifying a negative angle of rotation?

Dave.


Comment on Re: Rotation around an axis clockwise and anti-clockwise algorithm question?
Replies are listed 'Best First'.
Re^2: Rotation around an axis clockwise and anti-clockwise algorithm question?
by fraizerangus (Sexton) on Jun 12, 2012 at 17:35 UTC
    Can that be done in the conversion to radians? I thought it couldn't? I just tried changing it and the program crashed?
      Well, if your example hard-codes the rotation angle (9.4) as it appears, can't you use (360 - angle_in_degrees) for anti-clockwise?

      fnord

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975843]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2015-07-30 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls