[Development] Moving math3d classes from GUI to CORE

Jaroslaw Kobus Jaroslaw.Kobus at qt.io
Fri Jan 24 10:45:04 CET 2020


________________________________________
From: Lars Knoll <lars.knoll at qt.io>
Sent: Thursday, January 23, 2020 3:07 PM
To: Laszlo Agocs
Cc: Konstantin Shegunov; Jaroslaw Kobus; Qt development mailing list
Subject: Re: [Development] Moving math3d classes from GUI to CORE

> Hi,

> After some thinking, I pretty much agree with Laszlo. QVectorND, QMatrix4x4 and most other classes in math3d are really tuned towards graphics, and thus make little sense in Qt Core. So +1 for keeping them where they are and in addition a +1 for deprecating QGenericMatrix.

> But I think that in this case would make sense to add the QMatrix3x3 class now instead of returning a std::array. We could keep the class fairly minimal in 5.15 so that it in practice is not much more than a wrapper around float[3][3]. But we’d have the right type then and can add API for it as needed for Qt 6.

Hi again,

I've just created https://bugreports.qt.io/browse/QTBUG-81655 for this. I list there some issues to be solved / decided, before the work can be started. Please comment.

Thanks and regards

Jarek


More information about the Development mailing list