274 QQuick3DNode *systemSharedParent =
nullptr;
275 if (node && system) {
276 QVector<QQuick3DNode *> parents;
277 QQuick3DNode *parent = node->parentNode();
279 parents.append(parent);
280 parent = parent->parentNode();
285 if (parents.contains(parent)) {
286 systemSharedParent = parent;
289 parent = parent->parentNode();
292 return systemSharedParent;
QQuick3DNode * getSharedParentNode(QQuick3DNode *node, QQuick3DNode *system)
Q_QUICK3DPARTICLES_EXPORT const float qt_quick3d_sine_table[QT_QUICK3D_SINE_TABLE_SIZE]
#define QT_QUICK3D_SINE_TABLE_SIZE
QMatrix4x4 calculateParticleTransform(const QQuick3DNode *parent, const QQuick3DNode *systemSharedParent)
QQuaternion calculateParticleRotation(const QQuick3DNode *parent, const QQuick3DNode *systemSharedParent)