Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Code refactoring: simple trig, but it's been so long.

by revdiablo (Prior)
on Dec 30, 2004 at 00:12 UTC ( [id://418142]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Math::Trig qw(atan deg2rad rad2deg);
    
    ...
        # calculate the rest
        return rad2deg atan($y/$x);
    }
    
  2. or download this
    sub _thick_line {
        my ($image, $thickness, $color, $x1, $y1, $x2, $y2) = @_;
    ...
            ],
        );
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://418142]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-03-28 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found