Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by BrowserUk (Pope)
on Jun 12, 2012 at 19:52 UTC ( #975867=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $cube = [
        [-0.5, 0.5, 0.5],[ 0.5, 0.5, 0.5],[ 0.5,-0.5, 0.5],[-0.5,-0.5, 0.5
    +], # front face 
        [-0.5, 0.5,-0.5],[ 0.5, 0.5,-0.5],[ 0.5,-0.5,-0.5],[-0.5,-0.5,-0.5
    +], # back face
    ];
    
  2. or download this
    [
        [-0.50000000000000011, 0.49999999999999989, 0.49999999999999971],
    ...
        [ 0.49999999999999921,-0.500000000000000001,-0.500000000000000022]
    +,
        [-0.50000000000000011,-0.4999999999999999002,-0.50000000000000001]
    +, # back face
    ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2014-12-28 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (179 votes), past polls