0 Members and 1 Guest are viewing this topic.
_m_TO_SQUARE = (_x_ORIGEN_U ^2) + (_y_ORIGEN_U ^2)_m = sqrt _m_TO_SQUARE_x_ORIGEN_ROTATED_U = _x_ORIGEN_U * cos angle + _y_ORIGEN_U * sin angle_y_ORIGEN_ROTATED_U = _y_ORIGEN_U * cos angle - _x_ORIGEN_U * sin angle_x_ROTATED_U = _x_ORIGEN_ROTATED_U + _xT_y_ROTATED_U = _y_ORIGEN_ROTATED_U + _yT_x_POSITION_U = ((_x_ROTATED_U - ((sin angle) * _m)))_y_POSITION_U = ((_y_ROTATED_U - ((cos angle) * _m)))