diff options
author | David Fioramonti | 2017-08-12 19:49:14 -0700 |
---|---|---|
committer | David Fioramonti | 2017-08-12 20:31:16 -0700 |
commit | ba128368e8e7c4c4369db48c0f024bd40e8dad80 (patch) | |
tree | c7f5f5eb7eb224ed4718bbbffae7363553425a88 /engines/lab/image.h | |
parent | 18e52ef1ea6f2fea5ea311c8d0307a1a65f15ece (diff) | |
download | scummvm-rg350-ba128368e8e7c4c4369db48c0f024bd40e8dad80.tar.gz scummvm-rg350-ba128368e8e7c4c4369db48c0f024bd40e8dad80.tar.bz2 scummvm-rg350-ba128368e8e7c4c4369db48c0f024bd40e8dad80.zip |
TITANIC: star control dvector work, replace fn3 with getAnglesAsVect also replace atan2 implementation
fn3 in dvector returns a vector that stores a magnitude, and 2 angles.
The second angle (the z component of the returned vector) was the angle
that the internal vector was between its z and x axis.
This angle was obtained by doing a poor man 4-quadrant atan implementation
and it gave large values for negative x. This has been replaced with the
atan2 standard function.
Diffstat (limited to 'engines/lab/image.h')
0 files changed, 0 insertions, 0 deletions