aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_stack.cpp
diff options
context:
space:
mode:
authorDavid Fioramonti2018-09-08 16:33:28 -0700
committerDavid Fioramonti2018-09-08 16:36:57 -0700
commita66e661df194963d4e649d122c33255e05a2e588 (patch)
tree4099907d33e71d64b0a4867adba74ecfbc3c4626 /engines/mohawk/riven_stack.cpp
parent5d77ade10bd1274756cb4a226080eb7673c0b693 (diff)
downloadscummvm-rg350-a66e661df194963d4e649d122c33255e05a2e588.tar.gz
scummvm-rg350-a66e661df194963d4e649d122c33255e05a2e588.tar.bz2
scummvm-rg350-a66e661df194963d4e649d122c33255e05a2e588.zip
GRAPHICS: Simplify trig usage in primitives
Combined if statements and simplified trig. cos(atan2(y,x)) = x / sqrt(x^2 + y^2) and sin(atan2(y,x)) = y / sqrt(x^2 + y^2).
Diffstat (limited to 'engines/mohawk/riven_stack.cpp')
0 files changed, 0 insertions, 0 deletions