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

Qt3D should not duplicate QtQuick's value types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.5
    • 6.5.2
    • Qt3D
    • None
    • Windows

    Description

      For the actually valid example, see attached project. The user is creating Qt3D's quaternion value type and looking for the "times" method on it ... which doesn't exist.

      The following code from the documentation results in this error:
      var a = Qt.quaternion(1 / Math.sqrt(2), 1 / Math.sqrt(2), 0, 0);var b = Qt.quaternion(1 / Math.sqrt(2), 0, 1 / Math.sqrt(2), 0);var c = b.times(a);

      qrc:/ColorDepthRenderTarget.qml:64: TypeError: Type error
      qrc:/ColorDepthRenderTarget.qml:64: TypeError: Property 'times' of object QQuaternion(0.707107, 0, 0.707107, 0) is not a function
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            vpicaver Philip Schuchardt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes