Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by dave_the_m (Prior)
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: (8)
As of 2016-06-24 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (322 votes). Check out past polls.