diff options
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/lever_control.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/engines/zvision/lever_control.cpp b/engines/zvision/lever_control.cpp index 93a6054850..7f0cd401b2 100644 --- a/engines/zvision/lever_control.cpp +++ b/engines/zvision/lever_control.cpp @@ -323,27 +323,27 @@ int LeverControl::calculateVectorAngle(const Common::Point &pointOne, const Comm // Origin => (pointOne.x, pointOne.y) // * => (pointTwo.x, pointTwo.y) // - // 90 - // ^ - // * | * - // \ | / - // \ | / - // \ | / - // Quadrant 1 \ | / Quadrant 0 - // \ | / - // \ | / - // angle ( \|/ ) -angle - // 180 <----------------------------------------> 0 - // -angle ( /|\ ) angle - // / | \ - // / | \ - // Quadrant 3 / | \ Quadrant 2 - // / | \ - // / | \ - // / | \ - // * | * - // ^ - // 270 + // 90 | + // ^ | + // * | * | + // \ | / | + // \ | / | + // \ | / | + // Quadrant 1 \ | / Quadrant 0 | + // \ | / | + // \ | / | + // angle ( \|/ ) -angle | + // 180 <----------------------------------------> 0 | + // -angle ( /|\ ) angle | + // / | \ | + // / | \ | + // Quadrant 3 / | \ Quadrant 2 | + // / | \ | + // / | \ | + // / | \ | + // * | * | + // ^ | + // 270 | // Convert the local angles to unit circle angles switch (quadrant) { |