On Wednesday 05 April 2017 16:30:52 Igor Mironchik wrote: > Hi, > > 05.04.2017 16:12, Sean Harmer пишет: > > On Wednesday 05 April 2017 15:55:48 Igor Mironchik wrote: > >> Hello, > >> > >> Can I apply Qt3DCore::QTransform to the QVector3D? > >> > >> How can I calculate new QVector3D if Qt3DCore::QTransform will be > >> applied to it, in other words? > > > > The transformation is stored in the matrix property. Pre-multiply your > > vector by the matrix to get the resulting transformed vector: > > > > v' = M v > > Sorry for my question. But what the difference between M v and v M?
We treat v as a column vector, so we pre-multiply by the matrix M. Cheers, Sean > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest -- Dr Sean Harmer | sean.har...@kdab.com | Managing Director UK KDAB (UK) Ltd, a KDAB Group company Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090 Mobile: +44 (0)7545 140604 KDAB - Qt Experts _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest