Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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?
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 examining the Monastery: (9)
As of 2014-12-20 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (96 votes), past polls