aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/bomp.h
diff options
context:
space:
mode:
authorDavid Fioramonti2017-08-12 19:49:14 -0700
committerDavid Fioramonti2017-08-12 20:31:16 -0700
commitba128368e8e7c4c4369db48c0f024bd40e8dad80 (patch)
treec7f5f5eb7eb224ed4718bbbffae7363553425a88 /engines/scumm/bomp.h
parent18e52ef1ea6f2fea5ea311c8d0307a1a65f15ece (diff)
downloadscummvm-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/scumm/bomp.h')
0 files changed, 0 insertions, 0 deletions