Em Andamento

C++ Trigonometry/Vector Calculation

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.

Habilidades: Programação C, Engenharia, Design Gráfico, Linux, Mac OS, Microsoft, MySQL, PHP, Arquitetura de software, Teste de Software, Área de trabalho do Windows

Ver mais: vector use, vector template, vector php, vector library, use case module, programming vector, programming on mac, programming definition, library vector, i.t. degrees, float programming, float c programming, efficient php programming, definition of programming, c vector library, c template library, c template function, c programming template, c programming on mac, c programming mac, c programming function, c# module, mv library, linux boost, pixel perfect c

Acerca do Empregador:
( 23 comentários ) Grafton, United States

ID do Projeto: #2955325

Premiar a:

mz41

See private message.

$17 USD em 3 dias
(29 Avaliações)
4.1

7 freelancers are bidding on average $18 for this job

renardpaul

See private message.

$19.13 USD in 3 dias
(126 Comentários)
6.8
losgambias

See private message.

$17 USD in 3 dias
(42 Comentários)
6.4
themazeeu

See private message.

$19.13 USD in 3 dias
(64 Comentários)
5.5
techleadvnvw

See private message.

$19.13 USD in 3 dias
(6 Comentários)
3.4
codestudiovw

See private message.

$15.3 USD in 3 dias
(7 Comentários)
2.8
andromeda2000

See private message.

$17 USD in 3 dias
(0 Comentários)
0.0