Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72630

Wrong value from BezierSpline QEasingCurve

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.12.0
    • None
    • c54083ff933830a28f43551b9c3b132bfb11492d (qt/qtbase/5.15)

    Description

      QEasingCurve ease(QEasingCurve::BezierSpline);
      ease.addCubicBezierSegment(QPointF(0.167,0), QPointF(0.5,1), QPointF(1,1));
      qDebug() << ease.valueForProgress(1.0);

      Prints out 0 instead of the correct 1.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-72630
          # Subject Branch Project Status CR V

          Activity

            People

              vgt Eirik Aavitsland
              vgt Eirik Aavitsland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change