anchor.diff:    /**
      * Sets the main direction vector.
      * 
  -   * Direction can be: up/forward, down/backward, left, right
  +   * Direction can be: up/forward, down/backward, left, right, upleft, upright, downleft, downright
      */
     void setMainDirection(String direction) {
       switch (direction) {
  
positive.code:   }
  
    /**
     * Rotate direction vectors(main, up, down, left, right) in angles.
     */
    void rotateDirectionsAngles(num angles) {
      rotateDirectionsRadians(angles * (math.PI / 180));
    }
  }
  
negative.code:   }
  
    /**
     * Rotate direction vectors(main, up, down, left, right, upleft, upright, downleft, downright) in radians.
     */
    void rotateDirectionsRadians(num radians) {
      mainDirection = mainDirection.rotate(radians);
  