![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qmath.h>
#include <qmatrix4x4.h>
#include <QtQuick3DParticles/qtquick3dparticlesglobal.h>
#include <private/qglobal_p.h>
Go to the source code of this file.
Macros | |
#define | QPSIN qLookupSin |
#define | QPCOS qLookupCos |
#define | QT_QUICK3D_SINE_TABLE_SIZE 256 |
Functions | |
float | qLookupSin (float x) |
float | qLookupCos (float x) |
QQuick3DNode * | getSharedParentNode (QQuick3DNode *node, QQuick3DNode *system) |
QMatrix4x4 | calculateParticleTransform (const QQuick3DNode *parent, const QQuick3DNode *systemSharedParent) |
QQuaternion | calculateParticleRotation (const QQuick3DNode *parent, const QQuick3DNode *systemSharedParent) |
Variables | |
static constexpr float | QT_QUICK3D_SINE_H1 = 0.5f * float(QT_QUICK3D_SINE_TABLE_SIZE / M_PI) |
static constexpr float | QT_QUICK3D_SINE_H2 = 2.0f * float(M_PI / QT_QUICK3D_SINE_TABLE_SIZE) |
Q_QUICK3DPARTICLES_EXPORT const float | qt_quick3d_sine_table [QT_QUICK3D_SINE_TABLE_SIZE] |
#define QPCOS qLookupCos |
Definition at line 36 of file qquick3dparticleutils_p.h.
#define QPSIN qLookupSin |
Definition at line 35 of file qquick3dparticleutils_p.h.
#define QT_QUICK3D_SINE_TABLE_SIZE 256 |
Definition at line 49 of file qquick3dparticleutils_p.h.
QQuaternion calculateParticleRotation | ( | const QQuick3DNode * | parent, |
const QQuick3DNode * | systemSharedParent ) |
Definition at line 303 of file qquick3dparticleutils.cpp.
QMatrix4x4 calculateParticleTransform | ( | const QQuick3DNode * | parent, |
const QQuick3DNode * | systemSharedParent ) |
Definition at line 295 of file qquick3dparticleutils.cpp.
QQuick3DNode * getSharedParentNode | ( | QQuick3DNode * | node, |
QQuick3DNode * | system ) |
Definition at line 273 of file qquick3dparticleutils.cpp.
|
inline |
Definition at line 67 of file qquick3dparticleutils_p.h.
References QT_QUICK3D_SINE_H1, and QT_QUICK3D_SINE_H2.
|
inline |
Definition at line 57 of file qquick3dparticleutils_p.h.
References QT_QUICK3D_SINE_H1, and QT_QUICK3D_SINE_H2.
|
staticconstexpr |
Definition at line 52 of file qquick3dparticleutils_p.h.
Referenced by qLookupCos(), and qLookupSin().
|
staticconstexpr |
Definition at line 53 of file qquick3dparticleutils_p.h.
Referenced by qLookupCos(), and qLookupSin().
|
extern |
Definition at line 13 of file qquick3dparticleutils.cpp.