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

Sean
-- 
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

Reply via email to