Find Jobs
Hire Freelancers

C++ Trigonometry/Vector Calculation

$17.5-22.5 USD

Completed
Posted over 14 years ago

$17.5-22.5 USD

Paid on delivery
Write a highly efficient C++ function that calculates the magnitude and direction (in degrees) of a given x,y coordinate such as with this definition: void calcVector(x, y, float* magnitude, float* direction) You can also just show me how to use an existing library. I looked at Boost C++ and MV++ but didn't see the function I needed from them. A template style function would be nice in case I don't want to use floats but not necessary for a perfect 10 score. A function defined to be inline would be good too. The function has to be executed for every pixel on the screen over and over again so its got to be efficient! ## Deliverables The code should be a stand-alone c++ module that can compile on Mac/Linux/PC.
Project ID: 2955325

About the project

7 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$17 USD in 3 days
5.0 (29 reviews)
4.1
4.1
7 freelancers are bidding on average $18 USD for this job
User Avatar
See private message.
$19.13 USD in 3 days
5.0 (126 reviews)
6.8
6.8
User Avatar
See private message.
$17 USD in 3 days
4.9 (42 reviews)
6.4
6.4
User Avatar
See private message.
$19.13 USD in 3 days
4.7 (64 reviews)
5.5
5.5
User Avatar
See private message.
$19.13 USD in 3 days
4.2 (6 reviews)
3.4
3.4
User Avatar
See private message.
$15.30 USD in 3 days
4.8 (7 reviews)
2.8
2.8
User Avatar
See private message.
$17 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Grafton, United States
5.0
23
Payment method verified
Member since Jan 4, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.