Exemple #1
0
    public void UpdateCurrentBezierHandles()
    {
        Vector2 position = _program.GetMouseCanvasPosition();

        _currentBezierSegment.MoveHandle(position, _currentHoverData.IsSecondHandleHovered);
        _currentPathObject.UpdatePointsHandlesRenderer();
    }
    public void UpdateCurrentBezierHandles()
    {
        Vector2 position = _program.GetMouseCanvasPosition();

        bool isSecondHandle = _segments[_segments.Count - 1].PointSelected;

        _currentHoveredSegment.MoveHandle(position, isSecondHandle, true);

        _currentPathObject.UpdatePointsHandlesRenderer();
    }